Issue #2973: removed unused FLOAT_SUFFIX from java.g
This commit is contained in:
parent
6bcc84946b
commit
23e6eba325
|
|
@ -81,7 +81,7 @@ tokens {
|
|||
INC;DEC;BNOT;LNOT;LITERAL_true="true";LITERAL_false="false";
|
||||
LITERAL_null="null";LITERAL_new="new";NUM_INT;CHAR_LITERAL;
|
||||
STRING_LITERAL;NUM_FLOAT;NUM_LONG;NUM_DOUBLE;WS;SINGLE_LINE_COMMENT;
|
||||
BLOCK_COMMENT_BEGIN;ESC;HEX_DIGIT;VOCAB;EXPONENT;FLOAT_SUFFIX;
|
||||
BLOCK_COMMENT_BEGIN;ESC;HEX_DIGIT;VOCAB;EXPONENT;
|
||||
|
||||
//Please add new tokens only in the end of list! Otherwise you break compatibility!
|
||||
//Token for Java 1.4 language enhancements
|
||||
|
|
@ -2062,11 +2062,6 @@ SIGNED_INTEGER
|
|||
: ('+'|'-')? (('0'..'9')(('0'..'9'|'_')*('0'..'9'))?)
|
||||
;
|
||||
|
||||
protected
|
||||
FLOAT_SUFFIX
|
||||
: 'f'|'F'|'d'|'D'
|
||||
;
|
||||
|
||||
protected
|
||||
BINARY_EXPONENT
|
||||
: ('p'|'P') SIGNED_INTEGER
|
||||
|
|
|
|||
Loading…
Reference in New Issue