Searched refs:ast_error (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Python/ |
D | ast.c | 651 ast_error(struct compiling *c, const node *n, const char *errmsg, ...) in ast_error() function 978 ast_error(c, n, in get_operator() 1015 ast_error(c, n, "cannot assign to %U", name); in forbidden_name() 1154 ast_error(c, n, "cannot %s %s", in set_context() 1210 ast_error(c, n, in ast_for_augassign() 1351 ast_error(c, CHILD(n, start), "named arguments must follow bare *"); in handle_keywordonly_args() 1405 ast_error(c, ch, "unexpected node"); in handle_keywordonly_args() 1573 ast_error(c, n, in ast_for_arguments() 1601 ast_error(c, CHILD(n, i), in ast_for_arguments() 1611 ast_error(c, CHILD(n, i), in ast_for_arguments() [all …]
|
/external/python/cpython2/Python/ |
D | ast.c | 69 ast_error(const node *n, const char *errstr) in ast_error() function 127 ast_error(n, msg); in ast_warn() 137 return ast_error(n, "cannot assign to None"); in forbidden_check() 139 return ast_error(n, "cannot assign to __debug__"); in forbidden_check() 228 ast_error(n, "encoding declaration in Unicode string"); in PyAST_FromNode() 470 return ast_error(n, buf); in set_context() 724 ast_error(n, "parenthesized arg with default"); in ast_for_arguments() 727 ast_error(n, in ast_for_arguments() 1389 ast_error(n, buf); in ast_for_atom() 1392 ast_error(n, "(unicode error) unknown error"); in ast_for_atom() [all …]
|