/home/doxygen/libascend/compiler/ascParse_no_yacc.h

00001 /* A Bison parser, made by GNU Bison 2.3.  */
00002 
00003 /* Skeleton interface for Bison's Yacc-like parsers in C
00004 
00005    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
00006    Free Software Foundation, Inc.
00007 
00008    This program is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU General Public License as published by
00010    the Free Software Foundation; either version 2, or (at your option)
00011    any later version.
00012 
00013    This program is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016    GNU General Public License for more details.
00017 
00018    You should have received a copy of the GNU General Public License
00019    along with this program; if not, write to the Free Software
00020    Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021    Boston, MA 02110-1301, USA.  */
00022 
00023 /* As a special exception, you may create a larger work that contains
00024    part or all of the Bison parser skeleton and distribute that work
00025    under terms of your choice, so long as that work isn't itself a
00026    parser generator using the skeleton or a modified version thereof
00027    as a parser skeleton.  Alternatively, if you modify or redistribute
00028    the parser skeleton itself, you may (at your option) remove this
00029    special exception, which will cause the skeleton and the resulting
00030    Bison output files to be licensed under the GNU General Public
00031    License without this special exception.
00032 
00033    This special exception was added by the Free Software Foundation in
00034    version 2.2 of Bison.  */
00035 
00036 /* Tokens.  */
00037 #ifndef YYTOKENTYPE
00038 # define YYTOKENTYPE
00039    /* Put the tokens into the symbol table, so that GDB and other debuggers
00040       know about them.  */
00041    enum yytokentype {
00042      ADD_TOK = 258,
00043      ALIASES_TOK = 259,
00044      AND_TOK = 260,
00045      ANY_TOK = 261,
00046      AREALIKE_TOK = 262,
00047      ARETHESAME_TOK = 263,
00048      ARRAY_TOK = 264,
00049      ASSERT_TOK = 265,
00050      ATOM_TOK = 266,
00051      BEQ_TOK = 267,
00052      BNE_TOK = 268,
00053      BREAK_TOK = 269,
00054      CALL_TOK = 270,
00055      CARD_TOK = 271,
00056      CASE_TOK = 272,
00057      CHOICE_TOK = 273,
00058      CHECK_TOK = 274,
00059      CONDITIONAL_TOK = 275,
00060      CONSTANT_TOK = 276,
00061      CONTINUE_TOK = 277,
00062      CREATE_TOK = 278,
00063      DATA_TOK = 279,
00064      DECREASING_TOK = 280,
00065      DEFAULT_TOK = 281,
00066      DEFINITION_TOK = 282,
00067      DIMENSION_TOK = 283,
00068      DIMENSIONLESS_TOK = 284,
00069      DO_TOK = 285,
00070      ELSE_TOK = 286,
00071      END_TOK = 287,
00072      EXPECT_TOK = 288,
00073      EXTERNAL_TOK = 289,
00074      FALSE_TOK = 290,
00075      FALLTHRU_TOK = 291,
00076      FIX_TOK = 292,
00077      FOR_TOK = 293,
00078      FREE_TOK = 294,
00079      FROM_TOK = 295,
00080      GLOBAL_TOK = 296,
00081      IF_TOK = 297,
00082      IMPORT_TOK = 298,
00083      IN_TOK = 299,
00084      INPUT_TOK = 300,
00085      INCREASING_TOK = 301,
00086      INTERACTIVE_TOK = 302,
00087      INTERSECTION_TOK = 303,
00088      ISA_TOK = 304,
00089      _IS_T = 305,
00090      ISREFINEDTO_TOK = 306,
00091      MAXIMIZE_TOK = 307,
00092      MAXINTEGER_TOK = 308,
00093      MAXREAL_TOK = 309,
00094      METHODS_TOK = 310,
00095      METHOD_TOK = 311,
00096      MINIMIZE_TOK = 312,
00097      MODEL_TOK = 313,
00098      NOT_TOK = 314,
00099      NOTES_TOK = 315,
00100      OF_TOK = 316,
00101      OR_TOK = 317,
00102      OTHERWISE_TOK = 318,
00103      OUTPUT_TOK = 319,
00104      PATCH_TOK = 320,
00105      PROD_TOK = 321,
00106      PROVIDE_TOK = 322,
00107      REFINES_TOK = 323,
00108      REPLACE_TOK = 324,
00109      REQUIRE_TOK = 325,
00110      RETURN_TOK = 326,
00111      RUN_TOK = 327,
00112      SATISFIED_TOK = 328,
00113      SELECT_TOK = 329,
00114      SIZE_TOK = 330,
00115      STOP_TOK = 331,
00116      SUCHTHAT_TOK = 332,
00117      SUM_TOK = 333,
00118      SWITCH_TOK = 334,
00119      THEN_TOK = 335,
00120      TRUE_TOK = 336,
00121      UNION_TOK = 337,
00122      UNITS_TOK = 338,
00123      UNIVERSAL_TOK = 339,
00124      WHEN_TOK = 340,
00125      WHERE_TOK = 341,
00126      WHILE_TOK = 342,
00127      WILLBE_TOK = 343,
00128      WILLBETHESAME_TOK = 344,
00129      WILLNOTBETHESAME_TOK = 345,
00130      ASSIGN_TOK = 346,
00131      CASSIGN_TOK = 347,
00132      DBLCOLON_TOK = 348,
00133      USE_TOK = 349,
00134      LEQ_TOK = 350,
00135      GEQ_TOK = 351,
00136      NEQ_TOK = 352,
00137      DOTDOT_TOK = 353,
00138      WITH_TOK = 354,
00139      VALUE_TOK = 355,
00140      WITH_VALUE_T = 356,
00141      REAL_TOK = 357,
00142      INTEGER_TOK = 358,
00143      IDENTIFIER_TOK = 359,
00144      BRACEDTEXT_TOK = 360,
00145      SYMBOL_TOK = 361,
00146      DQUOTE_TOK = 362,
00147      UPLUS_TOK = 363,
00148      UMINUS_TOK = 364
00149    };
00150 #endif
00151 /* Tokens.  */
00152 #define ADD_TOK 258
00153 #define ALIASES_TOK 259
00154 #define AND_TOK 260
00155 #define ANY_TOK 261
00156 #define AREALIKE_TOK 262
00157 #define ARETHESAME_TOK 263
00158 #define ARRAY_TOK 264
00159 #define ASSERT_TOK 265
00160 #define ATOM_TOK 266
00161 #define BEQ_TOK 267
00162 #define BNE_TOK 268
00163 #define BREAK_TOK 269
00164 #define CALL_TOK 270
00165 #define CARD_TOK 271
00166 #define CASE_TOK 272
00167 #define CHOICE_TOK 273
00168 #define CHECK_TOK 274
00169 #define CONDITIONAL_TOK 275
00170 #define CONSTANT_TOK 276
00171 #define CONTINUE_TOK 277
00172 #define CREATE_TOK 278
00173 #define DATA_TOK 279
00174 #define DECREASING_TOK 280
00175 #define DEFAULT_TOK 281
00176 #define DEFINITION_TOK 282
00177 #define DIMENSION_TOK 283
00178 #define DIMENSIONLESS_TOK 284
00179 #define DO_TOK 285
00180 #define ELSE_TOK 286
00181 #define END_TOK 287
00182 #define EXPECT_TOK 288
00183 #define EXTERNAL_TOK 289
00184 #define FALSE_TOK 290
00185 #define FALLTHRU_TOK 291
00186 #define FIX_TOK 292
00187 #define FOR_TOK 293
00188 #define FREE_TOK 294
00189 #define FROM_TOK 295
00190 #define GLOBAL_TOK 296
00191 #define IF_TOK 297
00192 #define IMPORT_TOK 298
00193 #define IN_TOK 299
00194 #define INPUT_TOK 300
00195 #define INCREASING_TOK 301
00196 #define INTERACTIVE_TOK 302
00197 #define INTERSECTION_TOK 303
00198 #define ISA_TOK 304
00199 #define _IS_T 305
00200 #define ISREFINEDTO_TOK 306
00201 #define MAXIMIZE_TOK 307
00202 #define MAXINTEGER_TOK 308
00203 #define MAXREAL_TOK 309
00204 #define METHODS_TOK 310
00205 #define METHOD_TOK 311
00206 #define MINIMIZE_TOK 312
00207 #define MODEL_TOK 313
00208 #define NOT_TOK 314
00209 #define NOTES_TOK 315
00210 #define OF_TOK 316
00211 #define OR_TOK 317
00212 #define OTHERWISE_TOK 318
00213 #define OUTPUT_TOK 319
00214 #define PATCH_TOK 320
00215 #define PROD_TOK 321
00216 #define PROVIDE_TOK 322
00217 #define REFINES_TOK 323
00218 #define REPLACE_TOK 324
00219 #define REQUIRE_TOK 325
00220 #define RETURN_TOK 326
00221 #define RUN_TOK 327
00222 #define SATISFIED_TOK 328
00223 #define SELECT_TOK 329
00224 #define SIZE_TOK 330
00225 #define STOP_TOK 331
00226 #define SUCHTHAT_TOK 332
00227 #define SUM_TOK 333
00228 #define SWITCH_TOK 334
00229 #define THEN_TOK 335
00230 #define TRUE_TOK 336
00231 #define UNION_TOK 337
00232 #define UNITS_TOK 338
00233 #define UNIVERSAL_TOK 339
00234 #define WHEN_TOK 340
00235 #define WHERE_TOK 341
00236 #define WHILE_TOK 342
00237 #define WILLBE_TOK 343
00238 #define WILLBETHESAME_TOK 344
00239 #define WILLNOTBETHESAME_TOK 345
00240 #define ASSIGN_TOK 346
00241 #define CASSIGN_TOK 347
00242 #define DBLCOLON_TOK 348
00243 #define USE_TOK 349
00244 #define LEQ_TOK 350
00245 #define GEQ_TOK 351
00246 #define NEQ_TOK 352
00247 #define DOTDOT_TOK 353
00248 #define WITH_TOK 354
00249 #define VALUE_TOK 355
00250 #define WITH_VALUE_T 356
00251 #define REAL_TOK 357
00252 #define INTEGER_TOK 358
00253 #define IDENTIFIER_TOK 359
00254 #define BRACEDTEXT_TOK 360
00255 #define SYMBOL_TOK 361
00256 #define DQUOTE_TOK 362
00257 #define UPLUS_TOK 363
00258 #define UMINUS_TOK 364
00259 
00260 
00261 
00262 
00263 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00264 typedef union YYSTYPE
00265 #line 304 "base/generic/compiler/ascParse.y"
00266 {
00267   double real_value;
00268   long   int_value;
00269   struct fraction frac_value;
00270   symchar *id_ptr;
00271   CONST char *braced_ptr;   /* pointer for units, explanations, tables */
00272   symchar *sym_ptr;     /* pointer for symbols */
00273   CONST char *dquote_ptr;       /* for text in "double quotes" */
00274   struct Name *nptr;
00275   struct Expr *eptr;
00276   struct Set *sptr;
00277   struct VariableList *lptr;
00278   struct Statement *statptr;
00279   struct StatementList *slptr;
00280   struct SelectList *septr;
00281   struct SwitchList *swptr;
00282   struct WhenList *wptr;
00283   struct NoteTmp *notesptr; /* change this once struct Notes is defined */
00284   struct gl_list_t *listp;
00285   struct InitProcedure *procptr;
00286   CONST dim_type *dimp;
00287   struct TypeDescription *tptr;
00288   struct UnitDefinition *udefptr;
00289   dim_type dimen;
00290   enum ForOrder order;
00291   enum ForKind fkind;
00292 }
00293 /* Line 1489 of yacc.c.  */
00294 #line 295 "base/generic/compiler/ascParse.h"
00295     YYSTYPE;
00296 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00297 # define YYSTYPE_IS_DECLARED 1
00298 # define YYSTYPE_IS_TRIVIAL 1
00299 #endif
00300 
00301 extern YYSTYPE zz_lval;
00302 

Generated on Thu Jul 17 04:00:09 2008 for libascend by  doxygen 1.5.1