Home
last modified time | relevance | path

Searched refs:SYNTAX_ERROR (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dre_tests.py7 [SUCCEED, FAIL, SYNTAX_ERROR] = range(3)
58 ('(?P<foo_123', '', SYNTAX_ERROR), # Unterminated group identifier
59 ('(?P<1>a)', '', SYNTAX_ERROR), # Begins with a digit
60 ('(?P<!>a)', '', SYNTAX_ERROR), # Begins with an illegal char
61 ('(?P<foo!>a)', '', SYNTAX_ERROR), # Begins with an illegal char
64 ('(?P<foo_123>a)(?P=foo_123', 'aa', SYNTAX_ERROR),
65 ('(?P<foo_123>a)(?P=1)', 'aa', SYNTAX_ERROR),
66 ('(?P<foo_123>a)(?P=!)', 'aa', SYNTAX_ERROR),
67 ('(?P<foo_123>a)(?P=foo_124', 'aa', SYNTAX_ERROR), # Backref to undefined group
73 ('\\1', 'a', SYNTAX_ERROR), # Backreference
[all …]
Dtest_re.py1139 from test.re_tests import tests, SUCCEED, FAIL, SYNTAX_ERROR
1160 if outcome == SYNTAX_ERROR: pass # Expected a syntax error
1173 if outcome == SYNTAX_ERROR:
/external/squashfs-tools/squashfs-tools/
Daction.c284 SYNTAX_ERROR("Non-existent test \"%s\"\n", name); in parse_test()
327 SYNTAX_ERROR("Unexpected token \"%s\", expected " in parse_test()
344 SYNTAX_ERROR("Unexpected token \"%s\", expected " in parse_test()
356 SYNTAX_ERROR("Unexpected number of arguments, expected %d, " in parse_test()
393 SYNTAX_ERROR("Unexpected token \"%s\", expected test " in get_atom()
412 SYNTAX_ERROR("Expected \"&&\", \"||\" or " in parse_expr()
422 SYNTAX_ERROR("Unexpected \")\", expected " in parse_expr()
431 SYNTAX_ERROR("Unexpected token \"%s\", expected " in parse_expr()
460 SYNTAX_ERROR("Unexpected token \"%s\", expected name\n", in parse_action()
470 SYNTAX_ERROR("Non-existent action \"%s\"\n", string); in parse_action()
[all …]
Daction.h71 #define SYNTAX_ERROR(S, ARGS...) { \ macro
/external/icu/icu4c/source/i18n/
Ddtptngen_impl.h202 SYNTAX_ERROR, enumerator
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg96 SYNTAX_ERROR(arg) ::= "syntax error: <arg>"