1 kumpf 1.15 /* NOCHKSRC */
2 /* A Bison parser, made by GNU Bison 2.3. */
|
3 karl 1.13
|
4 kumpf 1.15 /* 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 karl 1.13
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 2, or (at your option)
12 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, write to the Free Software
|
21 kumpf 1.15 Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA. */
23
24 /* As a special exception, you may create a larger work that contains
25 part or all of the Bison parser skeleton and distribute that work
26 under terms of your choice, so long as that work isn't itself a
27 parser generator using the skeleton or a modified version thereof
28 as a parser skeleton. Alternatively, if you modify or redistribute
29 the parser skeleton itself, you may (at your option) remove this
30 special exception, which will cause the skeleton and the resulting
31 Bison output files to be licensed under the GNU General Public
32 License without this special exception.
|
33 karl 1.13
|
34 kumpf 1.15 This special exception was added by the Free Software Foundation in
35 version 2.2 of Bison. */
|
36 karl 1.13
37 /* Tokens. */
38 #ifndef YYTOKENTYPE
39 # define YYTOKENTYPE
40 /* Put the tokens into the symbol table, so that GDB and other debuggers
41 know about them. */
42 enum yytokentype {
43 TOK_INTEGER = 258,
44 TOK_DOUBLE = 259,
45 TOK_STRING = 260,
46 TOK_TRUE = 261,
47 TOK_FALSE = 262,
48 TOK_NULL = 263,
49 TOK_ISA = 264,
50 TOK_DOT = 265,
51 TOK_EQ = 266,
52 TOK_NE = 267,
53 TOK_LT = 268,
54 TOK_LE = 269,
55 TOK_GT = 270,
56 TOK_GE = 271,
57 karl 1.13 TOK_NOT = 272,
58 TOK_OR = 273,
59 TOK_AND = 274,
60 TOK_IS = 275,
61 TOK_IDENTIFIER = 276,
62 TOK_SELECT = 277,
63 TOK_WHERE = 278,
64 TOK_FROM = 279,
65 TOK_UNEXPECTED_CHAR = 280
66 };
67 #endif
|
68 kumpf 1.15 /* Tokens. */
|
69 karl 1.13 #define TOK_INTEGER 258
70 #define TOK_DOUBLE 259
71 #define TOK_STRING 260
72 #define TOK_TRUE 261
73 #define TOK_FALSE 262
74 #define TOK_NULL 263
75 #define TOK_ISA 264
76 #define TOK_DOT 265
77 #define TOK_EQ 266
78 #define TOK_NE 267
79 #define TOK_LT 268
80 #define TOK_LE 269
81 #define TOK_GT 270
82 #define TOK_GE 271
83 #define TOK_NOT 272
84 #define TOK_OR 273
85 #define TOK_AND 274
86 #define TOK_IS 275
87 #define TOK_IDENTIFIER 276
88 #define TOK_SELECT 277
89 #define TOK_WHERE 278
90 karl 1.13 #define TOK_FROM 279
91 #define TOK_UNEXPECTED_CHAR 280
92
93
94
95
|
96 kumpf 1.15 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
97 typedef union YYSTYPE
98 #line 89 "WQL.y"
99 {
|
100 mike 1.2 int intValue;
101 double doubleValue;
102 char* strValue;
103 void* nodeValue;
|
104 kumpf 1.15 }
105 /* Line 1529 of yacc.c. */
106 #line 106 "WQLtemp.h"
107 YYSTYPE;
|
108 karl 1.13 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
109 # define YYSTYPE_IS_DECLARED 1
110 # define YYSTYPE_IS_TRIVIAL 1
111 #endif
112
113 extern YYSTYPE WQL_lval;
114
|