Lines Matching refs:compiler_error
187 static int compiler_error(struct compiler *, const char *);
1627 return compiler_error(c, "too many statically nested blocks"); in compiler_push_fblock()
2159 compiler_error(c, "cannot assign to __debug__"); in forbidden_name()
2786 return compiler_error(c, "'async for' outside async function"); in compiler_async_for()
2900 return compiler_error(c, "'return' outside function"); in compiler_return()
2904 return compiler_error( in compiler_return()
2931 return compiler_error(c, "'break' outside loop"); in compiler_break()
2948 return compiler_error(c, "'continue' not properly in loop"); in compiler_continue()
3081 return compiler_error(c, "default 'except:' must be last"); in compiler_try_except()
3292 return compiler_error(c, "from __future__ imports must occur " in compiler_from_import()
3762 return compiler_error(c, in assignment_helper()
3769 return compiler_error(c, in assignment_helper()
4131 compiler_error(c, PyUnicode_AsUTF8(msg)); in validate_keywords()
4626 compiler_error(c, "asynchronous comprehension outside of " in compiler_comprehension()
4835 return compiler_error(c, "'async with' outside async function"); in compiler_async_with()
5028 return compiler_error(c, "'yield' outside function"); in compiler_visit_expr1()
5039 return compiler_error(c, "'yield' outside function"); in compiler_visit_expr1()
5042 return compiler_error(c, "'yield from' inside async function"); in compiler_visit_expr1()
5052 return compiler_error(c, "'await' outside function"); in compiler_visit_expr1()
5057 return compiler_error(c, "'await' outside async function"); in compiler_visit_expr1()
5101 return compiler_error(c, in compiler_visit_expr1()
5104 return compiler_error(c, in compiler_visit_expr1()
5308 compiler_error(struct compiler *c, const char *errstr) in compiler_error() function
5359 compiler_error(c, PyUnicode_AsUTF8(msg)); in compiler_warn()