1 karl 1.14 //%2006////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 // IBM Corp.; EMC Corporation, The Open Group.
7 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 // EMC Corporation; VERITAS Software Corporation; The Open Group.
11 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 // EMC Corporation; Symantec Corporation; The Open Group.
13 //
14 // Permission is hereby granted, free of charge, to any person obtaining a copy
15 // of this software and associated documentation files (the "Software"), to
16 // deal in the Software without restriction, including without limitation the
17 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 // sell copies of the Software, and to permit persons to whom the Software is
19 // furnished to do so, subject to the following conditions:
20 //
21 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 karl 1.14 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 //==============================================================================
|
31 karl 1.13 /* A Bison parser, made by GNU Bison 1.875c. */
32
33 /* Skeleton parser for Yacc-like parsing with Bison,
34 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
35
36 This program is free software; you can redistribute it and/or modify
37 it under the terms of the GNU General Public License as published by
38 the Free Software Foundation; either version 2, or (at your option)
39 any later version.
40
41 This program is distributed in the hope that it will be useful,
42 but WITHOUT ANY WARRANTY; without even the implied warranty of
43 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44 GNU General Public License for more details.
45
46 You should have received a copy of the GNU General Public License
47 along with this program; if not, write to the Free Software
48 Foundation, Inc., 59 Temple Place - Suite 330,
49 Boston, MA 02111-1307, USA. */
50
51 /* As a special exception, when this file is copied by Bison into a
52 karl 1.13 Bison output file, you may use that output file without restriction.
53 This special exception was added by the Free Software Foundation
54 in version 1.24 of Bison. */
55
56 /* Tokens. */
57 #ifndef YYTOKENTYPE
58 # define YYTOKENTYPE
59 /* Put the tokens into the symbol table, so that GDB and other debuggers
60 know about them. */
61 enum yytokentype {
62 TOK_INTEGER = 258,
63 TOK_DOUBLE = 259,
64 TOK_STRING = 260,
65 TOK_TRUE = 261,
66 TOK_FALSE = 262,
67 TOK_NULL = 263,
68 TOK_ISA = 264,
69 TOK_DOT = 265,
70 TOK_EQ = 266,
71 TOK_NE = 267,
72 TOK_LT = 268,
73 karl 1.13 TOK_LE = 269,
74 TOK_GT = 270,
75 TOK_GE = 271,
76 TOK_NOT = 272,
77 TOK_OR = 273,
78 TOK_AND = 274,
79 TOK_IS = 275,
80 TOK_IDENTIFIER = 276,
81 TOK_SELECT = 277,
82 TOK_WHERE = 278,
83 TOK_FROM = 279,
84 TOK_UNEXPECTED_CHAR = 280
85 };
86 #endif
87 #define TOK_INTEGER 258
88 #define TOK_DOUBLE 259
89 #define TOK_STRING 260
90 #define TOK_TRUE 261
91 #define TOK_FALSE 262
92 #define TOK_NULL 263
93 #define TOK_ISA 264
94 karl 1.13 #define TOK_DOT 265
95 #define TOK_EQ 266
96 #define TOK_NE 267
97 #define TOK_LT 268
98 #define TOK_LE 269
99 #define TOK_GT 270
100 #define TOK_GE 271
101 #define TOK_NOT 272
102 #define TOK_OR 273
103 #define TOK_AND 274
104 #define TOK_IS 275
105 #define TOK_IDENTIFIER 276
106 #define TOK_SELECT 277
107 #define TOK_WHERE 278
108 #define TOK_FROM 279
109 #define TOK_UNEXPECTED_CHAR 280
110
111
112
113
114 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
115 karl 1.13 #line 87 "WQL.y"
116 typedef union YYSTYPE {
|