41 |
|
ENDBLOCK; |
42 |
|
} |
43 |
|
|
44 |
– |
{ |
45 |
– |
// Suppport C++-style single-line comments? |
46 |
– |
} |
44 |
|
|
45 |
|
mdfile : (statement)* |
46 |
|
; |
142 |
|
; |
143 |
|
|
144 |
|
protected |
145 |
< |
signedNumber : (PLUS! | MINUS^)? |
145 |
> |
signedNumber : |
146 |
|
(intConst | floatConst) |
147 |
|
; |
148 |
|
|
206 |
|
LCURLY : '{' ; |
207 |
|
RCURLY : '}' ; |
208 |
|
|
212 |
– |
PLUS : '+' ; |
213 |
– |
MINUS : '-' ; |
209 |
|
|
210 |
|
/* |
211 |
|
EQUAL : "==" ; |
440 |
|
; |
441 |
|
|
442 |
|
Number |
443 |
< |
: |
443 |
> |
: |
444 |
> |
('+'|'-')? |
445 |
> |
( |
446 |
|
( (Digit)+ ('.' | 'e' | 'E' | 'd' | 'D' ) )=> |
447 |
|
(Digit)+ |
448 |
|
( '.' (Digit)* (Exponent)? {_ttype = FLOATONE;} //Zuo 3/12/01 |
475 |
|
(LongSuffix //{_ttype = LongHexConst;} |
476 |
|
|UnsignedSuffix //{_ttype = UnsignedHexConst;} |
477 |
|
)* {_ttype = HEXADECIMALINT;} |
478 |
+ |
) |
479 |
|
; |
480 |
|
|
481 |
|
ID |