|
1 |
|
2 /* A Bison parser, made by GNU Bison 2.4.1. */ |
|
3 |
|
4 /* Skeleton interface for Bison's Yacc-like parsers in C |
|
5 |
|
6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
|
7 Free Software Foundation, Inc. |
|
8 |
|
9 This program is free software: you can redistribute it and/or modify |
|
10 it under the terms of the GNU General Public License as published by |
|
11 the Free Software Foundation, either version 3 of the License, or |
|
12 (at your option) any later version. |
|
13 |
|
14 This program is distributed in the hope that it will be useful, |
|
15 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
17 GNU General Public License for more details. |
|
18 |
|
19 You should have received a copy of the GNU General Public License |
|
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
|
21 |
|
22 /* As a special exception, you may create a larger work that contains |
|
23 part or all of the Bison parser skeleton and distribute that work |
|
24 under terms of your choice, so long as that work isn't itself a |
|
25 parser generator using the skeleton or a modified version thereof |
|
26 as a parser skeleton. Alternatively, if you modify or redistribute |
|
27 the parser skeleton itself, you may (at your option) remove this |
|
28 special exception, which will cause the skeleton and the resulting |
|
29 Bison output files to be licensed under the GNU General Public |
|
30 License without this special exception. |
|
31 |
|
32 This special exception was added by the Free Software Foundation in |
|
33 version 2.2 of Bison. */ |
|
34 |
|
35 |
|
36 /* Tokens. */ |
|
37 #ifndef YYTOKENTYPE |
|
38 # define YYTOKENTYPE |
|
39 /* Put the tokens into the symbol table, so that GDB and other debuggers |
|
40 know about them. */ |
|
41 enum yytokentype { |
|
42 L_STRUCT = 258, |
|
43 L_RESOURCE = 259, |
|
44 L_NAME = 260, |
|
45 L_OFFSET = 261, |
|
46 L_SYSTEM = 262, |
|
47 L_GLOBAL = 263, |
|
48 L_LOCAL = 264, |
|
49 L_CHARACTER_SET = 265, |
|
50 L_BUF = 266, |
|
51 L_WORD = 267, |
|
52 L_BYTE = 268, |
|
53 L_LONG = 269, |
|
54 L_DOUBLE = 270, |
|
55 L_TEXT = 271, |
|
56 L_LTEXT = 272, |
|
57 L_LINK = 273, |
|
58 L_LLINK = 274, |
|
59 L_SRLINK = 275, |
|
60 L_BUF8 = 276, |
|
61 L_TEXT8 = 277, |
|
62 L_LTEXT8 = 278, |
|
63 L_BUF16 = 279, |
|
64 L_TEXT16 = 280, |
|
65 L_LTEXT16 = 281, |
|
66 L_UID_TWO = 282, |
|
67 L_UID_THREE = 283, |
|
68 L_RLS_STRING = 284, |
|
69 L_RLS_STRING8 = 285, |
|
70 L_RLS_DOUBLE = 286, |
|
71 L_RLS_BYTE = 287, |
|
72 L_RLS_WORD = 288, |
|
73 L_RLS_LONG = 289, |
|
74 L_MULTI = 290, |
|
75 L_TAG_START = 291, |
|
76 L_TAG_END = 292, |
|
77 L_TAG_COMMAND = 293, |
|
78 L_TAG_WORD = 294, |
|
79 L_TAG_NEW_LINE = 295, |
|
80 L_LABEL = 296, |
|
81 L_NUM_NATURAL = 297, |
|
82 L_NUM_FLOAT = 298, |
|
83 L_NATURAL_EXPR = 299, |
|
84 L_ENUM = 300, |
|
85 L_LEN = 301, |
|
86 L_CHAR_LITERAL = 302, |
|
87 L_STRING_LITERAL = 303, |
|
88 UMINUS = 304 |
|
89 }; |
|
90 #endif |
|
91 |
|
92 |
|
93 |
|
94 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
|
95 typedef union YYSTYPE |
|
96 { |
|
97 |
|
98 /* Line 1676 of yacc.c */ |
|
99 #line 132 "rcomp.yacc" |
|
100 |
|
101 char Value[1024*8]; |
|
102 TValueMaybeRls ValueMaybeRls; |
|
103 unsigned long Id; |
|
104 StructItem * pStructItem; |
|
105 SimpleStructItem * pSimpleStructItem; |
|
106 ArrayStructItem * pArrayStructItem; |
|
107 StructArrayStructItem * pStructArrayStructItem; |
|
108 StringArray * pStringArray; |
|
109 long NumInitialiser; |
|
110 TRlsQualifiers RlsQualifiers; |
|
111 TRlsType RlsType; |
|
112 |
|
113 |
|
114 |
|
115 /* Line 1676 of yacc.c */ |
|
116 #line 117 "rcomp.tab.hacc" |
|
117 } YYSTYPE; |
|
118 # define YYSTYPE_IS_TRIVIAL 1 |
|
119 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
|
120 # define YYSTYPE_IS_DECLARED 1 |
|
121 #endif |
|
122 |
|
123 extern YYSTYPE yylval; |
|
124 |
|
125 |