Simplify LEXER_CHAR_SET rule

This commit is contained in:
Sam Harwell 2013-02-22 13:51:02 -06:00
parent 53f147bb18
commit 08386ba2dc
1 changed files with 6 additions and 2 deletions

View File

@ -288,8 +288,12 @@ options {k=1;}
fragment
LEXER_CHAR_SET
: '[' ('\\]'|'\\' ~']'|~('\\'|']'))* ']'
;
: '['
( '\\' .
| ~('\\'|']')
)*
']'
;
// --------------
// Argument specs