PARSER_BEGIN(Example)
public class Example {}
PARSER_END(Example)
SPECIAL_TOKEN : {
<FOO: "0" >
}
TOKEN : {
<BAR: "a" <FOO> > // should be ok, the expansion is inlined
}
void foo(): {}{
<BAR> // ok
<FOO> // not ok
}
For now, the <FOO> reference inside the definition of BAR is reported with Token name FOO refers to a non-token (SPECIAL_TOKEN) regular expression, which does not matter inside regex specs
MWE:
For now, the
<FOO>
reference inside the definition of BAR is reported withToken name FOO refers to a non-token (SPECIAL_TOKEN) regular expression
, which does not matter inside regex specs