1 |
gezelter |
1334 |
/* A Bison parser, made by GNU Bison 1.875. */ |
2 |
|
|
|
3 |
|
|
/* Skeleton parser for Yacc-like parsing with Bison, |
4 |
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. |
5 |
|
|
|
6 |
|
|
This program is free software; you can redistribute it and/or modify |
7 |
|
|
it under the terms of the GNU General Public License as published by |
8 |
|
|
the Free Software Foundation; either version 2, or (at your option) |
9 |
|
|
any later version. |
10 |
|
|
|
11 |
|
|
This program is distributed in the hope that it will be useful, |
12 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
|
|
GNU General Public License for more details. |
15 |
|
|
|
16 |
|
|
You should have received a copy of the GNU General Public License |
17 |
|
|
along with this program; if not, write to the Free Software |
18 |
|
|
Foundation, Inc., 59 Temple Place - Suite 330, |
19 |
|
|
Boston, MA 02111-1307, USA. */ |
20 |
|
|
|
21 |
|
|
/* As a special exception, when this file is copied by Bison into a |
22 |
|
|
Bison output file, you may use that output file without restriction. |
23 |
|
|
This special exception was added by the Free Software Foundation |
24 |
|
|
in version 1.24 of Bison. */ |
25 |
|
|
|
26 |
|
|
/* Tokens. */ |
27 |
|
|
#ifndef YYTOKENTYPE |
28 |
|
|
# define YYTOKENTYPE |
29 |
|
|
/* Put the tokens into the symbol table, so that GDB and other debuggers |
30 |
|
|
know about them. */ |
31 |
|
|
enum yytokentype { |
32 |
|
|
MOLECULE = 258, |
33 |
|
|
ATOM = 259, |
34 |
|
|
BOND = 260, |
35 |
|
|
BEND = 261, |
36 |
|
|
TORSION = 262, |
37 |
|
|
POSITION = 263, |
38 |
|
|
MEMBERS = 264, |
39 |
|
|
CONSTRAINT = 265, |
40 |
|
|
COMPONENT = 266, |
41 |
|
|
START_INDEX = 267, |
42 |
|
|
DEFINED = 268, |
43 |
|
|
ORIENTATION = 269, |
44 |
|
|
ZCONSTRAINT = 270, |
45 |
|
|
RIGIDBODY = 271, |
46 |
|
|
CUTOFFGROUP = 272, |
47 |
|
|
INTEGER = 273, |
48 |
|
|
ARRAY_INDEX = 274, |
49 |
|
|
DOUBLE = 275, |
50 |
|
|
IDENTIFIER = 276, |
51 |
|
|
QUOTED_STRING = 277, |
52 |
|
|
LIST_STRING = 278 |
53 |
|
|
}; |
54 |
|
|
#endif |
55 |
|
|
#define MOLECULE 258 |
56 |
|
|
#define ATOM 259 |
57 |
|
|
#define BOND 260 |
58 |
|
|
#define BEND 261 |
59 |
|
|
#define TORSION 262 |
60 |
|
|
#define POSITION 263 |
61 |
|
|
#define MEMBERS 264 |
62 |
|
|
#define CONSTRAINT 265 |
63 |
|
|
#define COMPONENT 266 |
64 |
|
|
#define START_INDEX 267 |
65 |
|
|
#define DEFINED 268 |
66 |
|
|
#define ORIENTATION 269 |
67 |
|
|
#define ZCONSTRAINT 270 |
68 |
|
|
#define RIGIDBODY 271 |
69 |
|
|
#define CUTOFFGROUP 272 |
70 |
|
|
#define INTEGER 273 |
71 |
|
|
#define ARRAY_INDEX 274 |
72 |
|
|
#define DOUBLE 275 |
73 |
|
|
#define IDENTIFIER 276 |
74 |
|
|
#define QUOTED_STRING 277 |
75 |
|
|
#define LIST_STRING 278 |
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) |
81 |
|
|
#line 10 "BASSyacc.y" |
82 |
|
|
typedef union YYSTYPE { |
83 |
|
|
int i_val; /* integer value */ |
84 |
|
|
double d_val; /* double value */ |
85 |
|
|
char * s_ptr; /* string pointer */ |
86 |
|
|
struct node_tag* node_ptr; /* pointer to the statement node tree */ |
87 |
|
|
} YYSTYPE; |
88 |
|
|
/* Line 1240 of yacc.c. */ |
89 |
|
|
#line 89 "y.tab.h" |
90 |
|
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
91 |
|
|
# define YYSTYPE_IS_DECLARED 1 |
92 |
|
|
# define YYSTYPE_IS_TRIVIAL 1 |
93 |
|
|
#endif |
94 |
|
|
|
95 |
|
|
extern YYSTYPE yylval; |
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|