Home
last modified time | relevance | path

Searched refs:compiler_error (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Python/
Dcompile.c187 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()
[all …]
/external/python/cpython2/Python/
Dcompile.c158 static int compiler_error(struct compiler *, const char *);
1706 return compiler_error(c, LOOP_ERROR_MSG); in compiler_continue()
1718 return compiler_error(c, IN_FINALLY_ERROR_MSG); in compiler_continue()
1721 return compiler_error(c, LOOP_ERROR_MSG); in compiler_continue()
1725 return compiler_error(c, IN_FINALLY_ERROR_MSG); in compiler_continue()
1849 return compiler_error(c, "default 'except:' must be last"); in compiler_try_except()
2003 return compiler_error(c, "from __future__ imports must occur " in compiler_from_import()
2090 return compiler_error(c, "'return' outside function"); in compiler_visit_stmt()
2179 return compiler_error(c, "'break' outside loop"); in compiler_visit_stmt()
3011 return compiler_error(c, "'yield' outside function"); in compiler_visit_expr()
[all …]
/external/rust/crates/nom/
DCHANGELOG.md376 - the `compiler_error` macro is now correctly exported
393 - @lu_zero: integrating the compiler_error crate