Lines Matching refs:ast_error
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()
2008 ast_error(n, "Generator expression must be parenthesized " in ast_for_call()
2014 ast_error(n, "more than 255 arguments"); in ast_for_call()
2032 ast_error(CHILD(ch, 0), in ast_for_call()
2037 ast_error(CHILD(ch, 0), in ast_for_call()
2068 ast_error(CHILD(ch, 0), in ast_for_call()
2072 ast_error(CHILD(ch, 0), "keyword can't be an expression"); in ast_for_call()
2082 ast_error(CHILD(ch, 0), "keyword argument repeated"); in ast_for_call()
2212 ast_error(ch, "illegal expression for augmented assignment"); in ast_for_expr_stmt()
2246 ast_error(ch, "assignment to yield expression not possible"); in ast_for_expr_stmt()
2606 ast_error(n, "trailing comma not allowed without" in ast_for_import_stmt()
2612 ast_error(n, "Unexpected node-type in from-import"); in ast_for_import_stmt()
3103 ast_error(n, "malformed 'try' statement"); in ast_for_try_stmt()