Whitespace can appear between {...}? and => in v3 gated semantic predicates
This commit is contained in:
parent
aace1ce399
commit
178df68183
|
@ -299,7 +299,7 @@ ARG_ACTION
|
|||
ACTION
|
||||
: NESTED_ACTION
|
||||
( '?' {$type = SEMPRED;}
|
||||
( '=>' // v3 gated sempred
|
||||
( (WSNLCHARS* '=>') => WSNLCHARS* '=>' // v3 gated sempred
|
||||
{
|
||||
Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1);
|
||||
t.setLine(state.tokenStartLine);
|
||||
|
|
Loading…
Reference in New Issue