forked from jasder/antlr
Simplify LEXER_CHAR_SET rule
This commit is contained in:
parent
53f147bb18
commit
08386ba2dc
|
@ -288,8 +288,12 @@ options {k=1;}
|
||||||
|
|
||||||
fragment
|
fragment
|
||||||
LEXER_CHAR_SET
|
LEXER_CHAR_SET
|
||||||
: '[' ('\\]'|'\\' ~']'|~('\\'|']'))* ']'
|
: '['
|
||||||
;
|
( '\\' .
|
||||||
|
| ~('\\'|']')
|
||||||
|
)*
|
||||||
|
']'
|
||||||
|
;
|
||||||
|
|
||||||
// --------------
|
// --------------
|
||||||
// Argument specs
|
// Argument specs
|
||||||
|
|
Loading…
Reference in New Issue