My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tokens_spice.h
Go to the documentation of this file.
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  TitleLine = 258,
44  End = 260,
45  Eol = 261,
46  Identifier = 262,
47  Digits = 263,
48  Floats = 264,
49  Nodes = 265,
50  Options = 266,
51  Function = 267,
53  ENDS_Action = 269,
54  AC_Action = 270,
55  OP_Action = 271,
56  I_Source = 272,
57  SAVE_Action = 273,
58  RLC_Device = 274,
59  L_Device = 275,
60  K_Device = 276,
61  IV_Source = 277,
62  GE_Source = 278,
63  FH_Source = 279,
64  V_Source = 280,
65  Diode_Device = 281,
67  JFET_Device = 283,
70  MODEL_Action = 286,
71  MODEL_Spec = 287,
72  TRAN_Action = 288,
73  PLOT_Action = 289,
74  VoltFunc = 290,
75  CurrFunc = 291,
76  DC_Action = 292,
77  PRINT_Action = 293,
79  WIDTH_Action = 295,
80  NOISE_Action = 296,
81  PZ_Action = 297,
82  CurVol = 298,
83  PoleZero = 299,
84  ALL_Special = 300,
85  X_Device = 301,
86  O_Device = 302,
87  ModelProps = 303,
88  OFF_Special = 304,
89  IC_Special = 305,
90  SIM_Type = 306,
91  TEMP_Special = 307,
92  MOS_Special = 308,
93  B_Source = 309,
94  DISTO_Action = 310,
96  File = 312,
97  BranchFunc = 313,
99  T_Device = 315,
100  U_Device = 316,
101  S_Device = 317,
102  W_Device = 318,
103  ON_Special = 319,
104  TF_Action = 320,
105  SENS_Action = 321,
106  FOUR_Action = 322,
107  OpFunc = 323,
108  Behave = 324,
109  TC_Special = 325,
111  };
112 #endif
113 /* Tokens. */
114 #define TitleLine 258
115 #define InvalidCharacter 259
116 #define End 260
117 #define Eol 261
118 #define Identifier 262
119 #define Digits 263
120 #define Floats 264
121 #define Nodes 265
122 #define Options 266
123 #define Function 267
124 #define SUBCKT_Action 268
125 #define ENDS_Action 269
126 #define AC_Action 270
127 #define OP_Action 271
128 #define I_Source 272
129 #define SAVE_Action 273
130 #define RLC_Device 274
131 #define L_Device 275
132 #define K_Device 276
133 #define IV_Source 277
134 #define GE_Source 278
135 #define FH_Source 279
136 #define V_Source 280
137 #define Diode_Device 281
138 #define Bipolar_Device 282
139 #define JFET_Device 283
140 #define MOSFET_Device 284
141 #define MESFET_Device 285
142 #define MODEL_Action 286
143 #define MODEL_Spec 287
144 #define TRAN_Action 288
145 #define PLOT_Action 289
146 #define VoltFunc 290
147 #define CurrFunc 291
148 #define DC_Action 292
149 #define PRINT_Action 293
150 #define OPTIONS_Action 294
151 #define WIDTH_Action 295
152 #define NOISE_Action 296
153 #define PZ_Action 297
154 #define CurVol 298
155 #define PoleZero 299
156 #define ALL_Special 300
157 #define X_Device 301
158 #define O_Device 302
159 #define ModelProps 303
160 #define OFF_Special 304
161 #define IC_Special 305
162 #define SIM_Type 306
163 #define TEMP_Special 307
164 #define MOS_Special 308
165 #define B_Source 309
166 #define DISTO_Action 310
167 #define INCLUDE_Action 311
168 #define File 312
169 #define BranchFunc 313
170 #define NODESET_Action 314
171 #define T_Device 315
172 #define U_Device 316
173 #define S_Device 317
174 #define W_Device 318
175 #define ON_Special 319
176 #define TF_Action 320
177 #define SENS_Action 321
178 #define FOUR_Action 322
179 #define OpFunc 323
180 #define Behave 324
181 #define TC_Special 325
182 #define TEMP_Action 326
183 
184 
185 
186 
187 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
188 typedef union YYSTYPE
189 {
190 
191 /* Line 1676 of yacc.c */
192 #line 146 "parse_spice.y"
193 
194  char * ident;
195  char * str;
196  double d;
197  struct definition_t * definition;
198  struct definition_t * subcircuit;
199  struct value_t * value;
200 
201 
202 
203 /* Line 1676 of yacc.c */
204 #line 205 "tokens_spice.h"
205 } YYSTYPE;
206 # define YYSTYPE_IS_TRIVIAL 1
207 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
208 # define YYSTYPE_IS_DECLARED 1
209 #endif
210 
211 extern YYSTYPE spice_lval;
212 
213