1 karl 1.16 /* To be inserted in other files to bypass the chksrc tests */
|
2 kumpf 1.15 /* NOCHKSRC */
|
3 karl 1.16
|
4 kumpf 1.15 /* A Bison parser, made by GNU Bison 2.3. */
|
5 karl 1.13
|
6 kumpf 1.15 /* Skeleton interface for Bison's Yacc-like parsers in C
7
8 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
9 Free Software Foundation, Inc.
|
10 karl 1.13
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2, or (at your option)
14 any later version.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
|
23 kumpf 1.15 Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 Boston, MA 02110-1301, USA. */
25
26 /* As a special exception, you may create a larger work that contains
27 part or all of the Bison parser skeleton and distribute that work
28 under terms of your choice, so long as that work isn't itself a
29 parser generator using the skeleton or a modified version thereof
30 as a parser skeleton. Alternatively, if you modify or redistribute
31 the parser skeleton itself, you may (at your option) remove this
32 special exception, which will cause the skeleton and the resulting
33 Bison output files to be licensed under the GNU General Public
34 License without this special exception.
|
35 karl 1.13
|
36 kumpf 1.15 This special exception was added by the Free Software Foundation in
37 version 2.2 of Bison. */
|
38 karl 1.13
39 /* Tokens. */
40 #ifndef YYTOKENTYPE
41 # define YYTOKENTYPE
42 /* Put the tokens into the symbol table, so that GDB and other debuggers
43 know about them. */
44 enum yytokentype {
45 TOK_INTEGER = 258,
46 TOK_DOUBLE = 259,
47 TOK_STRING = 260,
48 TOK_TRUE = 261,
49 TOK_FALSE = 262,
50 TOK_NULL = 263,
51 TOK_ISA = 264,
52 TOK_DOT = 265,
53 TOK_EQ = 266,
54 TOK_NE = 267,
55 TOK_LT = 268,
56 TOK_LE = 269,
57 TOK_GT = 270,
58 TOK_GE = 271,
59 karl 1.13 TOK_NOT = 272,
60 TOK_OR = 273,
61 TOK_AND = 274,
62 TOK_IS = 275,
63 TOK_IDENTIFIER = 276,
64 TOK_SELECT = 277,
65 TOK_WHERE = 278,
66 TOK_FROM = 279,
67 TOK_UNEXPECTED_CHAR = 280
68 };
69 #endif
|
70 kumpf 1.15 /* Tokens. */
|
71 karl 1.13 #define TOK_INTEGER 258
72 #define TOK_DOUBLE 259
73 #define TOK_STRING 260
74 #define TOK_TRUE 261
75 #define TOK_FALSE 262
76 #define TOK_NULL 263
77 #define TOK_ISA 264
78 #define TOK_DOT 265
79 #define TOK_EQ 266
80 #define TOK_NE 267
81 #define TOK_LT 268
82 #define TOK_LE 269
83 #define TOK_GT 270
84 #define TOK_GE 271
85 #define TOK_NOT 272
86 #define TOK_OR 273
87 #define TOK_AND 274
88 #define TOK_IS 275
89 #define TOK_IDENTIFIER 276
90 #define TOK_SELECT 277
91 #define TOK_WHERE 278
92 karl 1.13 #define TOK_FROM 279
93 #define TOK_UNEXPECTED_CHAR 280
94
95
96
97
|
98 kumpf 1.15 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
99 typedef union YYSTYPE
|
100 karl 1.16 #line 87 "WQL.y"
|
101 kumpf 1.15 {
|
102 mike 1.2 int intValue;
103 double doubleValue;
104 char* strValue;
105 void* nodeValue;
|
106 kumpf 1.15 }
|
107 karl 1.16 /* Line 1489 of yacc.c. */
|
108 kumpf 1.15 #line 106 "WQLtemp.h"
109 YYSTYPE;
|
110 karl 1.13 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
111 # define YYSTYPE_IS_DECLARED 1
112 # define YYSTYPE_IS_TRIVIAL 1
113 #endif
114
115 extern YYSTYPE WQL_lval;
116
|