forked from jasder/antlr
Merge pull request #1469 from gaulouis/issue-1461
Fix conflict lexer command in CppTarget demo
This commit is contained in:
commit
2e59dc2184
|
@ -66,8 +66,9 @@ OpenCurly: '{' -> pushMode(Mode1);
|
|||
CloseCurly: '}' -> popMode;
|
||||
QuestionMark: '?';
|
||||
Comma: ',' -> skip;
|
||||
Dollar: '$' -> more, mode(Mode1), type(DUMMY);
|
||||
|
||||
Dollar: '$' -> more, mode(Mode1);
|
||||
Ampersand: '&' -> type(DUMMY);
|
||||
|
||||
String: '"' .*? '"';
|
||||
Foo: {canTestFoo()}? 'foo' {isItFoo()}? { myFooLexerAction(); };
|
||||
Bar: 'bar' {isItBar()}? { myBarLexerAction(); };
|
||||
|
|
Loading…
Reference in New Issue