Lines Matching refs:compiler_error
267 static int compiler_error(struct compiler *, const char *, ...);
1736 return compiler_error(c, "too many statically nested blocks"); in compiler_push_fblock()
2268 compiler_error(c, "cannot assign to __debug__"); in forbidden_name()
2272 compiler_error(c, "cannot delete __debug__"); in forbidden_name()
2900 return compiler_error(c, "'async for' outside async function"); in compiler_async_for()
2990 return compiler_error(c, "'return' outside function"); in compiler_return()
2994 return compiler_error( in compiler_return()
3035 return compiler_error(c, "'break' outside loop"); in compiler_break()
3055 return compiler_error(c, "'continue' not properly in loop"); in compiler_continue()
3190 return compiler_error(c, "default 'except:' must be last"); in compiler_try_except()
3407 return compiler_error(c, "from __future__ imports must occur " in compiler_from_import()
3896 return compiler_error(c, in unpack_helper()
3903 return compiler_error(c, in unpack_helper()
4284 compiler_error(c, "keyword argument repeated: %U", key->arg); in validate_keywords()
4816 compiler_error(c, "asynchronous comprehension outside of " in compiler_comprehension()
5018 return compiler_error(c, "'async with' outside async function"); in compiler_async_with()
5214 return compiler_error(c, "'yield' outside function"); in compiler_visit_expr1()
5225 return compiler_error(c, "'yield' outside function"); in compiler_visit_expr1()
5228 return compiler_error(c, "'yield from' inside async function"); in compiler_visit_expr1()
5238 return compiler_error(c, "'await' outside function"); in compiler_visit_expr1()
5243 return compiler_error(c, "'await' outside async function"); in compiler_visit_expr1()
5296 return compiler_error(c, in compiler_visit_expr1()
5299 return compiler_error(c, in compiler_visit_expr1()
5521 compiler_error(struct compiler *c, const char *format, ...) in compiler_error() function
5579 compiler_error(c, PyUnicode_AsUTF8(msg)); in compiler_warn()
5730 return compiler_error(c, "multiple assignments to name %R in pattern", n); in compiler_error_duplicate_store()
5767 return compiler_error(c, in pattern_unpack_helper()
5774 return compiler_error(c, in pattern_unpack_helper()
5861 return compiler_error(c, e, p->v.MatchAs.name); in compiler_pattern_as()
5864 return compiler_error(c, e); in compiler_pattern_as()
5902 compiler_error(c, "attribute name repeated in class pattern: %U", attr); in validate_kwd_attrs()
5924 return compiler_error(c, e, nattrs, nkwd_patterns); in compiler_pattern_class()
5928 return compiler_error(c, e, p->v.MatchClass.cls); in compiler_pattern_class()
5985 return compiler_error(c, e, size, npatterns); in compiler_pattern_mapping()
6007 return compiler_error(c, "too many sub-patterns in mapping pattern"); in compiler_pattern_mapping()
6026 compiler_error(c, e); in compiler_pattern_mapping()
6037 compiler_error(c, e, key->v.Constant.value); in compiler_pattern_mapping()
6047 compiler_error(c, e); in compiler_pattern_mapping()
6240 compiler_error(c, "alternative patterns bind different names"); in compiler_pattern_or()
6264 return compiler_error(c, e); in compiler_pattern_sequence()
6313 return compiler_error(c, e); in compiler_pattern_value()
6356 return compiler_error(c, e, p->kind); in compiler_pattern()