• Home
  • Raw
  • Download

Lines Matching refs:compiler_error

327 static int compiler_error(struct compiler *, location loc, const char *, ...);
1432 return compiler_error(c, loc, "too many statically nested blocks"); in compiler_push_fblock()
1620 return compiler_error( in compiler_unwind_fblock_stack()
2067 compiler_error(c, loc, "cannot assign to __debug__"); in forbidden_name()
2071 compiler_error(c, loc, "cannot delete __debug__"); in forbidden_name()
2200 return compiler_error(c, loc, "non-default type parameter '%U' " in compiler_type_params()
2220 return compiler_error(c, loc, "non-default type parameter '%U' " in compiler_type_params()
2240 return compiler_error(c, loc, "non-default type parameter '%U' " in compiler_type_params()
3168 return compiler_error(c, loc, "'async for' outside async function"); in compiler_async_for()
3246 return compiler_error(c, loc, "'return' outside function"); in compiler_return()
3251 return compiler_error(c, loc, "'return' with value in async generator"); in compiler_return()
3289 return compiler_error(c, origin_loc, "'break' outside loop"); in compiler_break()
3305 return compiler_error(c, origin_loc, "'continue' not properly in loop"); in compiler_continue()
3511 return compiler_error(c, loc, "default 'except:' must be last"); in compiler_try_except()
3951 return compiler_error(c, LOC(s), "from __future__ imports must occur " in compiler_from_import()
4491 return compiler_error(c, loc, in unpack_helper()
4499 return compiler_error(c, loc, in unpack_helper()
5047 compiler_error(c, LOC(other), "keyword argument repeated: %U", key->arg); in validate_keywords()
5848 compiler_error(c, loc, "asynchronous comprehension outside of " in compiler_comprehension()
6046 return compiler_error(c, loc, "'async with' outside async function"); in compiler_async_with()
6251 return compiler_error(c, loc, "'yield' outside function"); in compiler_visit_expr1()
6263 return compiler_error(c, loc, "'yield from' outside function"); in compiler_visit_expr1()
6266 return compiler_error(c, loc, "'yield from' inside async function"); in compiler_visit_expr1()
6276 return compiler_error(c, loc, "'await' outside function"); in compiler_visit_expr1()
6281 return compiler_error(c, loc, "'await' outside async function"); in compiler_visit_expr1()
6338 return compiler_error(c, loc, in compiler_visit_expr1()
6341 return compiler_error(c, loc, in compiler_visit_expr1()
6576 compiler_error(struct compiler *c, location loc, in compiler_error() function
6627 compiler_error(c, loc, PyUnicode_AsUTF8(msg)); in compiler_warn()
6787 return compiler_error(c, loc, in compiler_error_duplicate_store()
6837 return compiler_error(c, loc, in pattern_unpack_helper()
6845 return compiler_error(c, loc, in pattern_unpack_helper()
6935 return compiler_error(c, LOC(p), e, p->v.MatchAs.name); in compiler_pattern_as()
6938 return compiler_error(c, LOC(p), e); in compiler_pattern_as()
6977 compiler_error(c, loc, "attribute name repeated in class pattern: %U", attr); in validate_kwd_attrs()
6999 return compiler_error(c, LOC(p), e, nattrs, nkwd_patterns); in compiler_pattern_class()
7003 return compiler_error(c, LOC(p), e, p->v.MatchClass.cls); in compiler_pattern_class()
7062 return compiler_error(c, LOC(p), e, size, npatterns); in compiler_pattern_mapping()
7084 return compiler_error(c, LOC(p), "too many sub-patterns in mapping pattern"); in compiler_pattern_mapping()
7103 compiler_error(c, loc, e); in compiler_pattern_mapping()
7114 compiler_error(c, LOC(p), e, key->v.Constant.value); in compiler_pattern_mapping()
7124 compiler_error(c, LOC(p), e); in compiler_pattern_mapping()
7327 compiler_error(c, LOC(p), "alternative patterns bind different names"); in compiler_pattern_or()
7352 return compiler_error(c, LOC(p), e); in compiler_pattern_sequence()
7401 return compiler_error(c, LOC(p), e); in compiler_pattern_value()
7444 return compiler_error(c, LOC(p), e, p->kind); in compiler_pattern()