jw-python/test/grammar/generate.conf

20 lines
319 B
Text
Raw Normal View History

[symbols]
[white_space[
type = token
lex_extra_action = "if memchr(yytext, '\n', yyleng) context->line++;"
regex = "[ \n\t\r]+"
]
[all_characters[
type = non-terminal
regex = "[[:print:]]"
#lex_as = yytext[0]
]
[test[
type = token
dings = bums
regex = "bumsdings"
]