Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dcompile.c269 static int compiler_error(struct compiler *, const char *, ...);
1738 return compiler_error(c, "too many statically nested blocks"); in compiler_push_fblock()
2270 compiler_error(c, "cannot assign to __debug__"); in forbidden_name()
2274 compiler_error(c, "cannot delete __debug__"); in forbidden_name()
2901 return compiler_error(c, "'async for' outside async function"); in compiler_async_for()
2991 return compiler_error(c, "'return' outside function"); in compiler_return()
2995 return compiler_error( in compiler_return()
3036 return compiler_error(c, "'break' outside loop"); in compiler_break()
3056 return compiler_error(c, "'continue' not properly in loop"); in compiler_continue()
3191 return compiler_error(c, "default 'except:' must be last"); in compiler_try_except()
[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/cronet/testing/rust_gtest_interop/
Dgtest_attribute.rs394 return quote! {compiler_error!( in extern_test_suite()
/external/rust/crates/nom/
DCHANGELOG.md745 - the `compiler_error` macro is now correctly exported
762 - @lu_zero: integrating the compiler_error crate