1 /* A Bison parser, made by GNU Bison 2.3.  */
2 
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4 
5    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6    Free Software Foundation, Inc.
7 
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2, or (at your option)
11    any later version.
12 
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17 
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 51 Franklin Street, Fifth Floor,
21    Boston, MA 02110-1301, USA.  */
22 
23 /* As a special exception, you may create a larger work that contains
24    part or all of the Bison parser skeleton and distribute that work
25    under terms of your choice, so long as that work isn't itself a
26    parser generator using the skeleton or a modified version thereof
27    as a parser skeleton.  Alternatively, if you modify or redistribute
28    the parser skeleton itself, you may (at your option) remove this
29    special exception, which will cause the skeleton and the resulting
30    Bison output files to be licensed under the GNU General Public
31    License without this special exception.
32 
33    This special exception was added by the Free Software Foundation in
34    version 2.2 of Bison.  */
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      DOT = 258,
43      DOT_DOT = 259,
44      COLON_COLON = 260,
45      ucIdentifier = 261,
46      lcIdentifier = 262,
47      floatValue = 263,
48      textSegment = 264,
49      decimalNumber = 265,
50      hexadecimalNumber = 266,
51      OID = 267,
52      moduleKeyword = 268,
53      importKeyword = 269,
54      revisionKeyword = 270,
55      identityKeyword = 271,
56      oidKeyword = 272,
57      dateKeyword = 273,
58      organizationKeyword = 274,
59      contactKeyword = 275,
60      descriptionKeyword = 276,
61      referenceKeyword = 277,
62      extensionKeyword = 278,
63      typedefKeyword = 279,
64      typeKeyword = 280,
65      formatKeyword = 281,
66      unitsKeyword = 282,
67      statusKeyword = 283,
68      accessKeyword = 284,
69      defaultKeyword = 285,
70      impliedKeyword = 286,
71      indexKeyword = 287,
72      augmentsKeyword = 288,
73      reordersKeyword = 289,
74      sparseKeyword = 290,
75      expandsKeyword = 291,
76      createKeyword = 292,
77      membersKeyword = 293,
78      objectsKeyword = 294,
79      mandatoryKeyword = 295,
80      optionalKeyword = 296,
81      refineKeyword = 297,
82      abnfKeyword = 298,
83      OctetStringKeyword = 299,
84      ObjectIdentifierKeyword = 300,
85      Integer32Keyword = 301,
86      Unsigned32Keyword = 302,
87      Integer64Keyword = 303,
88      Unsigned64Keyword = 304,
89      Float32Keyword = 305,
90      Float64Keyword = 306,
91      Float128Keyword = 307,
92      BitsKeyword = 308,
93      EnumerationKeyword = 309,
94      currentKeyword = 310,
95      deprecatedKeyword = 311,
96      obsoleteKeyword = 312,
97      readonlyKeyword = 313,
98      readwriteKeyword = 314,
99      parentKeyword = 315,
100      classKeyword = 316,
101      extendsKeyword = 317,
102      attributeKeyword = 318,
103      uniqueKeyword = 319,
104      eventKeyword = 320,
105      PointerKeyword = 321,
106      eventonlyKeyword = 322,
107      neginfKeyword = 323,
108      posinfKeyword = 324,
109      snanKeyword = 325,
110      qnanKeyword = 326
111    };
112 #endif
113 /* Tokens.  */
114 #define DOT 258
115 #define DOT_DOT 259
116 #define COLON_COLON 260
117 #define ucIdentifier 261
118 #define lcIdentifier 262
119 #define floatValue 263
120 #define textSegment 264
121 #define decimalNumber 265
122 #define hexadecimalNumber 266
123 #define OID 267
124 #define moduleKeyword 268
125 #define importKeyword 269
126 #define revisionKeyword 270
127 #define identityKeyword 271
128 #define oidKeyword 272
129 #define dateKeyword 273
130 #define organizationKeyword 274
131 #define contactKeyword 275
132 #define descriptionKeyword 276
133 #define referenceKeyword 277
134 #define extensionKeyword 278
135 #define typedefKeyword 279
136 #define typeKeyword 280
137 #define formatKeyword 281
138 #define unitsKeyword 282
139 #define statusKeyword 283
140 #define accessKeyword 284
141 #define defaultKeyword 285
142 #define impliedKeyword 286
143 #define indexKeyword 287
144 #define augmentsKeyword 288
145 #define reordersKeyword 289
146 #define sparseKeyword 290
147 #define expandsKeyword 291
148 #define createKeyword 292
149 #define membersKeyword 293
150 #define objectsKeyword 294
151 #define mandatoryKeyword 295
152 #define optionalKeyword 296
153 #define refineKeyword 297
154 #define abnfKeyword 298
155 #define OctetStringKeyword 299
156 #define ObjectIdentifierKeyword 300
157 #define Integer32Keyword 301
158 #define Unsigned32Keyword 302
159 #define Integer64Keyword 303
160 #define Unsigned64Keyword 304
161 #define Float32Keyword 305
162 #define Float64Keyword 306
163 #define Float128Keyword 307
164 #define BitsKeyword 308
165 #define EnumerationKeyword 309
166 #define currentKeyword 310
167 #define deprecatedKeyword 311
168 #define obsoleteKeyword 312
169 #define readonlyKeyword 313
170 #define readwriteKeyword 314
171 #define parentKeyword 315
172 #define classKeyword 316
173 #define extendsKeyword 317
174 #define attributeKeyword 318
175 #define uniqueKeyword 319
176 #define eventKeyword 320
177 #define PointerKeyword 321
178 #define eventonlyKeyword 322
179 #define neginfKeyword 323
180 #define posinfKeyword 324
181 #define snanKeyword 325
182 #define qnanKeyword 326
183 
184 
185 
186 
187 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
188 typedef union YYSTYPE
189 #line 360 "parser-sming.y"
190 {
191     char           *id;				/* identifier name           */
192     int            rc;				/* >=0: ok, <0: error        */
193     time_t	   date;			/* a date value		     */
194     char	   *text;
195     Module	   *modulePtr;
196     Node	   *nodePtr;
197     Object	   *objectPtr;
198     Identity   *identityPtr;
199     Macro	   *macroPtr;
200     Type	   *typePtr;
201     Class	   *classPtr;
202     Attribute  *attributePtr;
203     Event	   *eventPtr;
204     Index	   index;
205     Option	   *optionPtr;
206     Refinement	   *refinementPtr;
207     SmiStatus	   status;
208     SmiAccess	   access;
209     NamedNumber    *namedNumberPtr;
210     Range	   *rangePtr;
211     SmiValue	   *valuePtr;
212     List	   *listPtr;
213     Revision	   *revisionPtr;
214 }
215 /* Line 1489 of yacc.c.  */
216 #line 217 "parser-sming.tab.h"
217 	YYSTYPE;
218 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
219 # define YYSTYPE_IS_DECLARED 1
220 # define YYSTYPE_IS_TRIVIAL 1
221 #endif
222 
223 
224 
225