Revision: | 2509 |
Committed: | Wed Dec 14 18:02:28 2005 UTC (18 years, 8 months ago) by tim |
File size: | 1275 byte(s) |
Log Message: | fix a nasty negative integer parsing problem by refining the grammar |
# | User | Rev | Content |
---|---|---|---|
1 | tim | 2469 | #ifndef INC_MDTreeParserTokenTypes_hpp_ |
2 | #define INC_MDTreeParserTokenTypes_hpp_ | ||
3 | |||
4 | /* $ANTLR 2.7.5 (20050406): "MDTreeParser.g" -> "MDTreeParserTokenTypes.hpp"$ */ | ||
5 | |||
6 | #ifndef CUSTOM_API | ||
7 | # define CUSTOM_API | ||
8 | #endif | ||
9 | |||
10 | #ifdef __cplusplus | ||
11 | struct CUSTOM_API MDTreeParserTokenTypes { | ||
12 | #endif | ||
13 | enum { | ||
14 | EOF_ = 1, | ||
15 | COMPONENT = 4, | ||
16 | MOLECULE = 5, | ||
17 | ZCONSTRAINT = 6, | ||
18 | ATOM = 7, | ||
19 | BOND = 8, | ||
20 | BEND = 9, | ||
21 | TORSION = 10, | ||
22 | RIGIDBODY = 11, | ||
23 | CUTOFFGROUP = 12, | ||
24 | FRAGMENT = 13, | ||
25 | MEMBERS = 14, | ||
26 | POSITION = 15, | ||
27 | ORIENTATION = 16, | ||
28 | ENDBLOCK = 17, | ||
29 | ID = 18, | ||
30 | ASSIGNEQUAL = 19, | ||
31 | SEMICOLON = 20, | ||
32 | StringLiteral = 21, | ||
33 | LCURLY = 22, | ||
34 | RCURLY = 23, | ||
35 | LBRACKET = 24, | ||
36 | RBRACKET = 25, | ||
37 | LPAREN = 26, | ||
38 | RPAREN = 27, | ||
39 | COMMA = 28, | ||
40 | OCTALINT = 29, | ||
41 | DECIMALINT = 30, | ||
42 | HEXADECIMALINT = 31, | ||
43 | tim | 2509 | FLOATONE = 32, |
44 | FLOATTWO = 33, | ||
45 | DOT = 34, | ||
46 | COLON = 35, | ||
47 | QUESTIONMARK = 36, | ||
48 | Whitespace = 37, | ||
49 | Comment = 38, | ||
50 | CPPComment = 39, | ||
51 | PREPROC_DIRECTIVE = 40, | ||
52 | LineDirective = 41, | ||
53 | Space = 42, | ||
54 | CharLiteral = 43, | ||
55 | EndOfLine = 44, | ||
56 | Escape = 45, | ||
57 | Digit = 46, | ||
58 | Decimal = 47, | ||
59 | LongSuffix = 48, | ||
60 | UnsignedSuffix = 49, | ||
61 | FloatSuffix = 50, | ||
62 | Exponent = 51, | ||
63 | Vocabulary = 52, | ||
64 | Number = 53, | ||
65 | MINUS = 54, | ||
66 | tim | 2469 | NULL_TREE_LOOKAHEAD = 3 |
67 | }; | ||
68 | #ifdef __cplusplus | ||
69 | }; | ||
70 | #endif | ||
71 | #endif /*INC_MDTreeParserTokenTypes_hpp_*/ |