1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358
|
/* A Bison parser, made by GNU Bison 1.875a. */
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
OR = 258,
AND = 259,
NEQUAL = 260,
EQUALS = 261,
GT_EQ = 262,
LT_EQ = 263,
RSHIFT = 264,
LSHIFT = 265,
UNARY = 266,
NAME = 267,
INTEGER = 268,
DOUBLE = 269,
BOOLEAN = 270,
TIME = 271,
SIN = 272,
COS = 273,
TAN = 274,
POW = 275,
EXP = 276,
LOG = 277,
LOG10 = 278,
SQRT = 279,
HYPOT = 280,
FLOOR = 281,
CEIL = 282,
FMOD = 283,
FABS = 284,
ANALYSIS_TYPE = 285,
DIRECTION = 286,
CONSTRAINT = 287,
HINGED = 288,
NODE_DOF = 289,
MASS_MODE = 290,
PROBLEM = 291,
ANALYSIS = 292,
LOAD_CASES = 293,
END = 294,
NODES = 295,
ELEMENTS = 296,
MATERIALS = 297,
LOADS = 298,
FORCES = 299,
CONSTRAINTS = 300,
TITLE_EQ = 301,
NODES_EQ = 302,
ELEMENTS_EQ = 303,
ANALYSIS_EQ = 304,
X_EQ = 305,
Y_EQ = 306,
Z_EQ = 307,
FORCE_EQ = 308,
CONSTRAINT_EQ = 309,
MASS_EQ = 310,
LOAD_EQ = 311,
MATERIAL_EQ = 312,
E_EQ = 313,
IX_EQ = 314,
IY_EQ = 315,
IZ_EQ = 316,
A_EQ = 317,
J_EQ = 318,
G_EQ = 319,
T_EQ = 320,
RHO_EQ = 321,
NU_EQ = 322,
KAPPA_EQ = 323,
RK_EQ = 324,
RM_EQ = 325,
KX_EQ = 326,
KY_EQ = 327,
KZ_EQ = 328,
C_EQ = 329,
DIRECTION_EQ = 330,
VALUES_EQ = 331,
FX_EQ = 332,
FY_EQ = 333,
FZ_EQ = 334,
MX_EQ = 335,
MY_EQ = 336,
MZ_EQ = 337,
SFX_EQ = 338,
SFY_EQ = 339,
SFZ_EQ = 340,
SMX_EQ = 341,
SMY_EQ = 342,
SMZ_EQ = 343,
TX_EQ = 344,
TY_EQ = 345,
TZ_EQ = 346,
RX_EQ = 347,
RY_EQ = 348,
RZ_EQ = 349,
ITX_EQ = 350,
ITY_EQ = 351,
ITZ_EQ = 352,
IRX_EQ = 353,
IRY_EQ = 354,
IRZ_EQ = 355,
VX_EQ = 356,
VY_EQ = 357,
VZ_EQ = 358,
AX_EQ = 359,
AY_EQ = 360,
AZ_EQ = 361,
ALPHA_EQ = 362,
BETA_EQ = 363,
GAMMA_EQ = 364,
DOFS_EQ = 365,
MASS_MODE_EQ = 366,
START_EQ = 367,
STOP_EQ = 368,
STEP_EQ = 369,
GRAVITY_EQ = 370,
ITERATIONS_EQ = 371,
TOLERANCE_EQ = 372,
LOAD_STEPS_EQ = 373,
RELAXATION_EQ = 374,
INPUT_RANGE_EQ = 375,
INPUT_DOF_EQ = 376,
INPUT_NODE_EQ = 377,
NODE_FORCES_EQ = 378,
ELEMENT_LOADS_EQ = 379,
CANVAS = 380,
FIGURES = 381,
NODE_NUM_EQ = 382,
ELT_NUM_EQ = 383,
SNAP_EQ = 384,
GRID_EQ = 385,
SNAP_SIZE_EQ = 386,
GRID_SIZE_EQ = 387,
X_MIN_EQ = 388,
X_MAX_EQ = 389,
Y_MIN_EQ = 390,
Y_MAX_EQ = 391,
SCALE_EQ = 392,
X_POS_EQ = 393,
Y_POS_EQ = 394,
WIDTH_EQ = 395,
HEIGHT_EQ = 396,
NODE_COLOR_EQ = 397,
ELT_COLOR_EQ = 398,
LABEL_FONT_EQ = 399,
TOOL_COLOR_EQ = 400,
TOOL_FONT_EQ = 401,
FONT_EQ = 402,
COLOR_EQ = 403,
LENGTH_EQ = 404,
TEXT_EQ = 405,
POINTS_EQ = 406,
FIGURE_TYPE = 407
};
#endif
#define OR 258
#define AND 259
#define NEQUAL 260
#define EQUALS 261
#define GT_EQ 262
#define LT_EQ 263
#define RSHIFT 264
#define LSHIFT 265
#define UNARY 266
#define NAME 267
#define INTEGER 268
#define DOUBLE 269
#define BOOLEAN 270
#define TIME 271
#define SIN 272
#define COS 273
#define TAN 274
#define POW 275
#define EXP 276
#define LOG 277
#define LOG10 278
#define SQRT 279
#define HYPOT 280
#define FLOOR 281
#define CEIL 282
#define FMOD 283
#define FABS 284
#define ANALYSIS_TYPE 285
#define DIRECTION 286
#define CONSTRAINT 287
#define HINGED 288
#define NODE_DOF 289
#define MASS_MODE 290
#define PROBLEM 291
#define ANALYSIS 292
#define LOAD_CASES 293
#define END 294
#define NODES 295
#define ELEMENTS 296
#define MATERIALS 297
#define LOADS 298
#define FORCES 299
#define CONSTRAINTS 300
#define TITLE_EQ 301
#define NODES_EQ 302
#define ELEMENTS_EQ 303
#define ANALYSIS_EQ 304
#define X_EQ 305
#define Y_EQ 306
#define Z_EQ 307
#define FORCE_EQ 308
#define CONSTRAINT_EQ 309
#define MASS_EQ 310
#define LOAD_EQ 311
#define MATERIAL_EQ 312
#define E_EQ 313
#define IX_EQ 314
#define IY_EQ 315
#define IZ_EQ 316
#define A_EQ 317
#define J_EQ 318
#define G_EQ 319
#define T_EQ 320
#define RHO_EQ 321
#define NU_EQ 322
#define KAPPA_EQ 323
#define RK_EQ 324
#define RM_EQ 325
#define KX_EQ 326
#define KY_EQ 327
#define KZ_EQ 328
#define C_EQ 329
#define DIRECTION_EQ 330
#define VALUES_EQ 331
#define FX_EQ 332
#define FY_EQ 333
#define FZ_EQ 334
#define MX_EQ 335
#define MY_EQ 336
#define MZ_EQ 337
#define SFX_EQ 338
#define SFY_EQ 339
#define SFZ_EQ 340
#define SMX_EQ 341
#define SMY_EQ 342
#define SMZ_EQ 343
#define TX_EQ 344
#define TY_EQ 345
#define TZ_EQ 346
#define RX_EQ 347
#define RY_EQ 348
#define RZ_EQ 349
#define ITX_EQ 350
#define ITY_EQ 351
#define ITZ_EQ 352
#define IRX_EQ 353
#define IRY_EQ 354
#define IRZ_EQ 355
#define VX_EQ 356
#define VY_EQ 357
#define VZ_EQ 358
#define AX_EQ 359
#define AY_EQ 360
#define AZ_EQ 361
#define ALPHA_EQ 362
#define BETA_EQ 363
#define GAMMA_EQ 364
#define DOFS_EQ 365
#define MASS_MODE_EQ 366
#define START_EQ 367
#define STOP_EQ 368
#define STEP_EQ 369
#define GRAVITY_EQ 370
#define ITERATIONS_EQ 371
#define TOLERANCE_EQ 372
#define LOAD_STEPS_EQ 373
#define RELAXATION_EQ 374
#define INPUT_RANGE_EQ 375
#define INPUT_DOF_EQ 376
#define INPUT_NODE_EQ 377
#define NODE_FORCES_EQ 378
#define ELEMENT_LOADS_EQ 379
#define CANVAS 380
#define FIGURES 381
#define NODE_NUM_EQ 382
#define ELT_NUM_EQ 383
#define SNAP_EQ 384
#define GRID_EQ 385
#define SNAP_SIZE_EQ 386
#define GRID_SIZE_EQ 387
#define X_MIN_EQ 388
#define X_MAX_EQ 389
#define Y_MIN_EQ 390
#define Y_MAX_EQ 391
#define SCALE_EQ 392
#define X_POS_EQ 393
#define Y_POS_EQ 394
#define WIDTH_EQ 395
#define HEIGHT_EQ 396
#define NODE_COLOR_EQ 397
#define ELT_COLOR_EQ 398
#define LABEL_FONT_EQ 399
#define TOOL_COLOR_EQ 400
#define TOOL_FONT_EQ 401
#define FONT_EQ 402
#define COLOR_EQ 403
#define LENGTH_EQ 404
#define TEXT_EQ 405
#define POINTS_EQ 406
#define FIGURE_TYPE 407
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 117 "parser.y"
typedef union YYSTYPE {
int i;
double d;
char *s;
Pair p;
CasePair cp;
char c;
} YYSTYPE;
/* Line 1240 of yacc.c. */
#line 350 "y.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
extern YYSTYPE yylval;
|