Searched refs:ast_error (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Python/ |
D | ast.c | 677 ast_error(struct compiling *c, const node *n, const char *errmsg) in ast_error() function 942 ast_error(c, n, "assignment to keyword"); in forbidden_name() 949 ast_error(c, n, "assignment to keyword"); in forbidden_name() 1075 return ast_error(c, n, buf); in set_context() 1261 ast_error(c, CHILD(n, start), "named arguments must follow bare *"); in handle_keywordonly_args() 1305 ast_error(c, ch, "unexpected node"); in handle_keywordonly_args() 1422 ast_error(c, n, in ast_for_arguments() 1435 ast_error(c, CHILD(n, i), in ast_for_arguments() 1924 ast_error(c, ch, "iterable unpacking cannot be used in comprehension"); in ast_for_itercomp() 2129 ast_error(c, n, buf); in ast_for_atom() [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 …]
|