annotate sqlite/parse.c @ 1666:77baac5f7439 trunk

[svn] - make fileinfo_recursive_get_image() breadth first search.
author yaz
date Sun, 10 Sep 2006 23:39:54 -0700
parents b6b61becdf4e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1434
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1 /* Driver template for the LEMON parser generator.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2 ** The author disclaims copyright to this source code.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
4 /* First off, code is include which follows the "include" declaration
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
5 ** in the input file. */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
6 #include <stdio.h>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
7 #line 56 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
8
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
9 #include "sqliteInt.h"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
10 #include "parse.h"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
11
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
12 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
13 ** An instance of this structure holds information about the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
14 ** LIMIT clause of a SELECT statement.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
15 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
16 struct LimitVal {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
17 Expr *pLimit; /* The LIMIT expression. NULL if there is no limit */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
18 Expr *pOffset; /* The OFFSET expression. NULL if there is none */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
19 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
20
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
21 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
22 ** An instance of this structure is used to store the LIKE,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
23 ** GLOB, NOT LIKE, and NOT GLOB operators.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
24 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
25 struct LikeOp {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
26 Token eOperator; /* "like" or "glob" or "regexp" */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
27 int not; /* True if the NOT keyword is present */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
28 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
29
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
30 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
31 ** An instance of the following structure describes the event of a
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
32 ** TRIGGER. "a" is the event type, one of TK_UPDATE, TK_INSERT,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
33 ** TK_DELETE, or TK_INSTEAD. If the event is of the form
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
34 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
35 ** UPDATE ON (a,b,c)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
36 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
37 ** Then the "b" IdList records the list "a,b,c".
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
38 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
39 struct TrigEvent { int a; IdList * b; };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
40
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
41 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
42 ** An instance of this structure holds the ATTACH key and the key type.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
43 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
44 struct AttachKey { int type; Token key; };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
45
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
46 #line 48 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
47 /* Next is all token values, in a form suitable for use by makeheaders.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
48 ** This section will be null unless lemon is run with the -m switch.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
49 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
50 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
51 ** These constants (all generated automatically by the parser generator)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
52 ** specify the various kinds of tokens (terminals) that the parser
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
53 ** understands.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
54 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
55 ** Each symbol here is a terminal symbol in the grammar.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
56 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
57 /* Make sure the INTERFACE macro is defined.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
58 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
59 #ifndef INTERFACE
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
60 # define INTERFACE 1
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
61 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
62 /* The next thing included is series of defines which control
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
63 ** various aspects of the generated parser.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
64 ** YYCODETYPE is the data type used for storing terminal
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
65 ** and nonterminal numbers. "unsigned char" is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
66 ** used if there are fewer than 250 terminals
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
67 ** and nonterminals. "int" is used otherwise.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
68 ** YYNOCODE is a number of type YYCODETYPE which corresponds
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
69 ** to no legal terminal or nonterminal number. This
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
70 ** number is used to fill in empty slots of the hash
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
71 ** table.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
72 ** YYFALLBACK If defined, this indicates that one or more tokens
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
73 ** have fall-back values which should be used if the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
74 ** original value of the token will not parse.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
75 ** YYACTIONTYPE is the data type used for storing terminal
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
76 ** and nonterminal numbers. "unsigned char" is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
77 ** used if there are fewer than 250 rules and
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
78 ** states combined. "int" is used otherwise.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
79 ** sqlite3ParserTOKENTYPE is the data type used for minor tokens given
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
80 ** directly to the parser from the tokenizer.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
81 ** YYMINORTYPE is the data type used for all minor tokens.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
82 ** This is typically a union of many types, one of
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
83 ** which is sqlite3ParserTOKENTYPE. The entry in the union
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
84 ** for base tokens is called "yy0".
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
85 ** YYSTACKDEPTH is the maximum depth of the parser's stack.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
86 ** sqlite3ParserARG_SDECL A static variable declaration for the %extra_argument
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
87 ** sqlite3ParserARG_PDECL A parameter declaration for the %extra_argument
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
88 ** sqlite3ParserARG_STORE Code to store %extra_argument into yypParser
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
89 ** sqlite3ParserARG_FETCH Code to extract %extra_argument from yypParser
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
90 ** YYNSTATE the combined number of states.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
91 ** YYNRULE the number of rules in the grammar
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
92 ** YYERRORSYMBOL is the code number of the error symbol. If not
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
93 ** defined, then do no error processing.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
94 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
95 #define YYCODETYPE unsigned char
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
96 #define YYNOCODE 240
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
97 #define YYACTIONTYPE unsigned short int
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
98 #define sqlite3ParserTOKENTYPE Token
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
99 typedef union {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
100 sqlite3ParserTOKENTYPE yy0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
101 struct {int value; int mask;} yy13;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
102 struct TrigEvent yy132;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
103 IdList* yy160;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
104 Expr* yy178;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
105 int yy230;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
106 Select* yy239;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
107 TriggerStep* yy247;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
108 struct LimitVal yy270;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
109 SrcList* yy285;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
110 Expr * yy292;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
111 Token yy384;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
112 struct LikeOp yy440;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
113 ExprList* yy462;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
114 int yy479;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
115 } YYMINORTYPE;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
116 #define YYSTACKDEPTH 100
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
117 #define sqlite3ParserARG_SDECL Parse *pParse;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
118 #define sqlite3ParserARG_PDECL ,Parse *pParse
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
119 #define sqlite3ParserARG_FETCH Parse *pParse = yypParser->pParse
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
120 #define sqlite3ParserARG_STORE yypParser->pParse = pParse
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
121 #define YYNSTATE 559
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
122 #define YYNRULE 295
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
123 #define YYERRORSYMBOL 137
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
124 #define YYERRSYMDT yy479
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
125 #define YYFALLBACK 1
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
126 #define YY_NO_ACTION (YYNSTATE+YYNRULE+2)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
127 #define YY_ACCEPT_ACTION (YYNSTATE+YYNRULE+1)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
128 #define YY_ERROR_ACTION (YYNSTATE+YYNRULE)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
129
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
130 /* Next are that tables used to determine what action to take based on the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
131 ** current state and lookahead token. These tables are used to implement
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
132 ** functions that take a state number and lookahead value and return an
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
133 ** action integer.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
134 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
135 ** Suppose the action integer is N. Then the action is determined as
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
136 ** follows
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
137 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
138 ** 0 <= N < YYNSTATE Shift N. That is, push the lookahead
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
139 ** token onto the stack and goto state N.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
140 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
141 ** YYNSTATE <= N < YYNSTATE+YYNRULE Reduce by rule N-YYNSTATE.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
142 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
143 ** N == YYNSTATE+YYNRULE A syntax error has occurred.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
144 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
145 ** N == YYNSTATE+YYNRULE+1 The parser accepts its input.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
146 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
147 ** N == YYNSTATE+YYNRULE+2 No such action. Denotes unused
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
148 ** slots in the yy_action[] table.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
149 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
150 ** The action table is constructed as a single large table named yy_action[].
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
151 ** Given state S and lookahead X, the action is computed as
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
152 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
153 ** yy_action[ yy_shift_ofst[S] + X ]
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
154 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
155 ** If the index value yy_shift_ofst[S]+X is out of range or if the value
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
156 ** yy_lookahead[yy_shift_ofst[S]+X] is not equal to X or if yy_shift_ofst[S]
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
157 ** is equal to YY_SHIFT_USE_DFLT, it means that the action is not in the table
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
158 ** and that yy_default[S] should be used instead.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
159 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
160 ** The formula above is for computing the action when the lookahead is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
161 ** a terminal symbol. If the lookahead is a non-terminal (as occurs after
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
162 ** a reduce action) then the yy_reduce_ofst[] array is used in place of
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
163 ** the yy_shift_ofst[] array and YY_REDUCE_USE_DFLT is used in place of
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
164 ** YY_SHIFT_USE_DFLT.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
165 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
166 ** The following are the tables generated in this section:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
167 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
168 ** yy_action[] A single table containing all actions.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
169 ** yy_lookahead[] A table containing the lookahead for each entry in
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
170 ** yy_action. Used to detect hash collisions.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
171 ** yy_shift_ofst[] For each state, the offset into yy_action for
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
172 ** shifting terminals.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
173 ** yy_reduce_ofst[] For each state, the offset into yy_action for
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
174 ** shifting non-terminals after a reduce.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
175 ** yy_default[] Default action for each state.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
176 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
177 static const YYACTIONTYPE yy_action[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
178 /* 0 */ 279, 67, 283, 69, 147, 165, 545, 418, 61, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
179 /* 10 */ 61, 61, 201, 63, 63, 63, 63, 64, 64, 65,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
180 /* 20 */ 65, 65, 66, 66, 547, 548, 431, 68, 63, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
181 /* 30 */ 63, 63, 64, 64, 65, 65, 65, 66, 67, 453,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
182 /* 40 */ 69, 147, 498, 60, 58, 287, 439, 440, 436, 436,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
183 /* 50 */ 62, 62, 61, 61, 61, 61, 500, 63, 63, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
184 /* 60 */ 63, 64, 64, 65, 65, 65, 66, 279, 370, 283,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
185 /* 70 */ 418, 2, 376, 79, 157, 114, 219, 304, 224, 305,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
186 /* 80 */ 169, 244, 855, 118, 558, 503, 203, 2, 245, 388,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
187 /* 90 */ 495, 218, 21, 431, 513, 20, 418, 57, 492, 511,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
188 /* 100 */ 63, 63, 63, 63, 64, 64, 65, 65, 65, 66,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
189 /* 110 */ 60, 58, 287, 439, 440, 436, 436, 62, 62, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
190 /* 120 */ 61, 61, 61, 530, 63, 63, 63, 63, 64, 64,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
191 /* 130 */ 65, 65, 65, 66, 279, 377, 378, 174, 371, 368,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
192 /* 140 */ 330, 333, 334, 219, 304, 224, 305, 169, 244, 510,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
193 /* 150 */ 479, 19, 335, 138, 376, 245, 509, 301, 372, 418,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
194 /* 160 */ 431, 529, 91, 199, 65, 65, 65, 66, 504, 167,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
195 /* 170 */ 191, 64, 64, 65, 65, 65, 66, 60, 58, 287,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
196 /* 180 */ 439, 440, 436, 436, 62, 62, 61, 61, 61, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
197 /* 190 */ 254, 63, 63, 63, 63, 64, 64, 65, 65, 65,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
198 /* 200 */ 66, 279, 250, 410, 410, 430, 109, 395, 426, 204,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
199 /* 210 */ 357, 260, 259, 308, 145, 168, 153, 377, 378, 396,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
200 /* 220 */ 327, 201, 67, 189, 69, 147, 225, 431, 546, 361,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
201 /* 230 */ 465, 365, 397, 499, 318, 409, 40, 413, 428, 312,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
202 /* 240 */ 161, 180, 550, 178, 60, 58, 287, 439, 440, 436,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
203 /* 250 */ 436, 62, 62, 61, 61, 61, 61, 410, 63, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
204 /* 260 */ 63, 63, 64, 64, 65, 65, 65, 66, 279, 471,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
205 /* 270 */ 415, 415, 415, 282, 308, 322, 235, 426, 204, 308,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
206 /* 280 */ 174, 367, 308, 330, 333, 334, 67, 308, 69, 147,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
207 /* 290 */ 148, 559, 371, 368, 431, 335, 409, 34, 165, 465,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
208 /* 300 */ 418, 409, 34, 275, 409, 34, 428, 502, 161, 409,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
209 /* 310 */ 35, 60, 58, 287, 439, 440, 436, 436, 62, 62,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
210 /* 320 */ 61, 61, 61, 61, 410, 63, 63, 63, 63, 64,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
211 /* 330 */ 64, 65, 65, 65, 66, 308, 503, 395, 237, 290,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
212 /* 340 */ 279, 391, 392, 146, 324, 387, 20, 288, 347, 396,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
213 /* 350 */ 174, 450, 350, 330, 333, 334, 450, 409, 27, 450,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
214 /* 360 */ 474, 231, 397, 418, 393, 335, 431, 501, 354, 144,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
215 /* 370 */ 512, 503, 524, 232, 394, 465, 496, 410, 527, 392,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
216 /* 380 */ 555, 20, 75, 60, 58, 287, 439, 440, 436, 436,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
217 /* 390 */ 62, 62, 61, 61, 61, 61, 220, 63, 63, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
218 /* 400 */ 63, 64, 64, 65, 65, 65, 66, 308, 221, 185,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
219 /* 410 */ 338, 254, 279, 308, 239, 443, 475, 308, 319, 308,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
220 /* 420 */ 389, 444, 286, 421, 422, 379, 380, 381, 492, 409,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
221 /* 430 */ 34, 311, 421, 422, 212, 409, 48, 170, 431, 409,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
222 /* 440 */ 40, 409, 48, 410, 122, 314, 526, 442, 442, 1,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
223 /* 450 */ 376, 469, 255, 376, 78, 60, 58, 287, 439, 440,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
224 /* 460 */ 436, 436, 62, 62, 61, 61, 61, 61, 355, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
225 /* 470 */ 63, 63, 63, 64, 64, 65, 65, 65, 66, 279,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
226 /* 480 */ 233, 152, 298, 478, 449, 203, 792, 192, 299, 351,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
227 /* 490 */ 376, 281, 376, 9, 203, 376, 245, 376, 201, 432,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
228 /* 500 */ 314, 376, 442, 442, 490, 431, 314, 325, 442, 442,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
229 /* 510 */ 418, 356, 289, 377, 378, 354, 377, 378, 403, 434,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
230 /* 520 */ 435, 410, 60, 58, 287, 439, 440, 436, 436, 62,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
231 /* 530 */ 62, 61, 61, 61, 61, 263, 63, 63, 63, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
232 /* 540 */ 64, 64, 65, 65, 65, 66, 279, 433, 328, 236,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
233 /* 550 */ 497, 473, 490, 377, 378, 377, 378, 484, 377, 378,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
234 /* 560 */ 377, 378, 308, 522, 377, 378, 314, 521, 442, 442,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
235 /* 570 */ 409, 3, 431, 418, 130, 254, 264, 485, 309, 346,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
236 /* 580 */ 461, 213, 462, 242, 409, 28, 469, 292, 214, 60,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
237 /* 590 */ 58, 287, 439, 440, 436, 436, 62, 62, 61, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
238 /* 600 */ 61, 61, 308, 63, 63, 63, 63, 64, 64, 65,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
239 /* 610 */ 65, 65, 66, 279, 308, 458, 536, 248, 5, 308,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
240 /* 620 */ 201, 308, 469, 308, 409, 23, 308, 202, 291, 308,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
241 /* 630 */ 375, 243, 308, 362, 54, 115, 409, 32, 74, 431,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
242 /* 640 */ 76, 409, 53, 409, 24, 409, 51, 345, 409, 96,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
243 /* 650 */ 149, 409, 93, 265, 409, 98, 60, 58, 287, 439,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
244 /* 660 */ 440, 436, 436, 62, 62, 61, 61, 61, 61, 308,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
245 /* 670 */ 63, 63, 63, 63, 64, 64, 65, 65, 65, 66,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
246 /* 680 */ 279, 308, 404, 297, 410, 90, 308, 176, 308, 405,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
247 /* 690 */ 308, 409, 99, 308, 419, 308, 22, 308, 520, 344,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
248 /* 700 */ 520, 164, 153, 409, 110, 141, 431, 313, 409, 111,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
249 /* 710 */ 409, 16, 409, 97, 254, 409, 33, 409, 94, 409,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
250 /* 720 */ 52, 410, 187, 60, 58, 287, 439, 440, 436, 436,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
251 /* 730 */ 62, 62, 61, 61, 61, 61, 308, 63, 63, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
252 /* 740 */ 63, 64, 64, 65, 65, 65, 66, 279, 308, 490,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
253 /* 750 */ 490, 414, 308, 320, 308, 538, 308, 460, 409, 112,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
254 /* 760 */ 308, 171, 172, 173, 308, 408, 308, 424, 424, 407,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
255 /* 770 */ 409, 113, 427, 431, 409, 25, 409, 36, 409, 37,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
256 /* 780 */ 170, 437, 409, 26, 211, 293, 409, 38, 409, 39,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
257 /* 790 */ 60, 58, 287, 439, 440, 436, 436, 62, 62, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
258 /* 800 */ 61, 61, 61, 308, 63, 63, 63, 63, 64, 64,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
259 /* 810 */ 65, 65, 65, 66, 279, 308, 490, 490, 451, 308,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
260 /* 820 */ 81, 308, 151, 308, 459, 409, 41, 308, 243, 243,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
261 /* 830 */ 400, 401, 308, 448, 281, 12, 464, 409, 42, 468,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
262 /* 840 */ 431, 409, 43, 409, 29, 409, 30, 241, 460, 409,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
263 /* 850 */ 44, 294, 296, 480, 409, 45, 329, 60, 70, 287,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
264 /* 860 */ 439, 440, 436, 436, 62, 62, 61, 61, 61, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
265 /* 870 */ 308, 63, 63, 63, 63, 64, 64, 65, 65, 65,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
266 /* 880 */ 66, 279, 308, 408, 483, 482, 308, 407, 308, 467,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
267 /* 890 */ 308, 166, 409, 46, 308, 243, 243, 476, 488, 12,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
268 /* 900 */ 122, 518, 519, 179, 409, 47, 481, 431, 409, 31,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
269 /* 910 */ 409, 10, 409, 49, 505, 486, 409, 50, 254, 249,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
270 /* 920 */ 254, 254, 254, 158, 279, 58, 287, 439, 440, 436,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
271 /* 930 */ 436, 62, 62, 61, 61, 61, 61, 410, 63, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
272 /* 940 */ 63, 63, 64, 64, 65, 65, 65, 66, 487, 247,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
273 /* 950 */ 431, 122, 254, 337, 525, 122, 122, 251, 533, 539,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
274 /* 960 */ 166, 540, 266, 360, 534, 543, 88, 88, 252, 287,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
275 /* 970 */ 439, 440, 436, 436, 62, 62, 61, 61, 61, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
276 /* 980 */ 195, 63, 63, 63, 63, 64, 64, 65, 65, 65,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
277 /* 990 */ 66, 71, 315, 268, 4, 253, 182, 258, 285, 349,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
278 /* 1000 */ 342, 352, 353, 261, 262, 544, 310, 71, 315, 269,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
279 /* 1010 */ 4, 222, 363, 272, 285, 593, 273, 554, 140, 226,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
280 /* 1020 */ 385, 423, 310, 317, 425, 316, 532, 542, 18, 156,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
281 /* 1030 */ 479, 454, 457, 430, 332, 489, 374, 382, 383, 317,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
282 /* 1040 */ 384, 8, 302, 303, 491, 390, 398, 284, 403, 430,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
283 /* 1050 */ 223, 406, 73, 72, 402, 81, 411, 399, 323, 56,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
284 /* 1060 */ 71, 306, 307, 205, 321, 413, 80, 227, 73, 72,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
285 /* 1070 */ 472, 77, 452, 163, 234, 455, 71, 306, 307, 71,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
286 /* 1080 */ 315, 413, 4, 229, 201, 456, 285, 412, 228, 82,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
287 /* 1090 */ 119, 326, 230, 206, 310, 207, 101, 276, 415, 415,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
288 /* 1100 */ 415, 416, 417, 11, 238, 494, 466, 470, 240, 209,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
289 /* 1110 */ 210, 317, 493, 506, 415, 415, 415, 416, 417, 11,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
290 /* 1120 */ 507, 430, 155, 339, 508, 514, 177, 215, 216, 217,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
291 /* 1130 */ 105, 277, 341, 181, 516, 83, 343, 85, 256, 455,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
292 /* 1140 */ 73, 72, 517, 197, 183, 270, 348, 117, 71, 306,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
293 /* 1150 */ 307, 528, 271, 413, 186, 126, 535, 358, 127, 128,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
294 /* 1160 */ 541, 135, 300, 132, 194, 136, 529, 551, 552, 553,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
295 /* 1170 */ 129, 193, 89, 196, 430, 556, 208, 100, 95, 373,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
296 /* 1180 */ 386, 116, 200, 55, 17, 594, 415, 415, 415, 416,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
297 /* 1190 */ 417, 11, 92, 142, 143, 595, 159, 108, 160, 59,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
298 /* 1200 */ 438, 420, 499, 429, 137, 441, 413, 445, 150, 162,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
299 /* 1210 */ 446, 447, 6, 7, 13, 359, 267, 259, 463, 12,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
300 /* 1220 */ 120, 280, 121, 154, 477, 102, 201, 246, 331, 103,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
301 /* 1230 */ 84, 104, 336, 175, 221, 340, 139, 515, 123, 415,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
302 /* 1240 */ 415, 415, 184, 124, 295, 166, 257, 106, 523, 278,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
303 /* 1250 */ 364, 531, 125, 86, 188, 14, 190, 537, 131, 133,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
304 /* 1260 */ 87, 134, 15, 107, 198, 549, 366, 369, 536, 557,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
305 /* 1270 */ 274,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
306 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
307 static const YYCODETYPE yy_lookahead[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
308 /* 0 */ 16, 216, 16, 218, 219, 21, 146, 23, 68, 69,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
309 /* 10 */ 70, 71, 109, 73, 74, 75, 76, 77, 78, 79,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
310 /* 20 */ 80, 81, 82, 82, 164, 165, 42, 72, 73, 74,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
311 /* 30 */ 75, 76, 77, 78, 79, 80, 81, 82, 216, 217,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
312 /* 40 */ 218, 219, 168, 59, 60, 61, 62, 63, 64, 65,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
313 /* 50 */ 66, 67, 68, 69, 70, 71, 168, 73, 74, 75,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
314 /* 60 */ 76, 77, 78, 79, 80, 81, 82, 16, 140, 16,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
315 /* 70 */ 86, 143, 23, 22, 88, 89, 90, 91, 92, 93,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
316 /* 80 */ 94, 95, 138, 139, 140, 146, 226, 143, 102, 166,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
317 /* 90 */ 167, 152, 19, 42, 155, 156, 23, 46, 175, 180,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
318 /* 100 */ 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
319 /* 110 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
320 /* 120 */ 69, 70, 71, 11, 73, 74, 75, 76, 77, 78,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
321 /* 130 */ 79, 80, 81, 82, 16, 86, 87, 88, 1, 2,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
322 /* 140 */ 91, 92, 93, 90, 91, 92, 93, 94, 95, 175,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
323 /* 150 */ 176, 19, 103, 21, 23, 102, 182, 141, 142, 86,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
324 /* 160 */ 42, 49, 44, 147, 79, 80, 81, 82, 180, 154,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
325 /* 170 */ 154, 77, 78, 79, 80, 81, 82, 59, 60, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
326 /* 180 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
327 /* 190 */ 146, 73, 74, 75, 76, 77, 78, 79, 80, 81,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
328 /* 200 */ 82, 16, 14, 188, 188, 58, 21, 12, 77, 78,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
329 /* 210 */ 98, 99, 100, 146, 22, 200, 201, 86, 87, 24,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
330 /* 220 */ 205, 109, 216, 154, 218, 219, 189, 42, 97, 213,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
331 /* 230 */ 160, 187, 37, 86, 39, 168, 169, 90, 160, 161,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
332 /* 240 */ 162, 53, 236, 55, 59, 60, 61, 62, 63, 64,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
333 /* 250 */ 65, 66, 67, 68, 69, 70, 71, 188, 73, 74,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
334 /* 260 */ 75, 76, 77, 78, 79, 80, 81, 82, 16, 199,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
335 /* 270 */ 123, 124, 125, 149, 146, 208, 209, 77, 78, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
336 /* 280 */ 88, 237, 146, 91, 92, 93, 216, 146, 218, 219,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
337 /* 290 */ 154, 0, 1, 2, 42, 103, 168, 169, 21, 160,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
338 /* 300 */ 23, 168, 169, 157, 168, 169, 160, 161, 162, 168,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
339 /* 310 */ 169, 59, 60, 61, 62, 63, 64, 65, 66, 67,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
340 /* 320 */ 68, 69, 70, 71, 188, 73, 74, 75, 76, 77,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
341 /* 330 */ 78, 79, 80, 81, 82, 146, 146, 12, 199, 211,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
342 /* 340 */ 16, 184, 185, 154, 211, 155, 156, 211, 224, 24,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
343 /* 350 */ 88, 223, 228, 91, 92, 93, 223, 168, 169, 223,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
344 /* 360 */ 20, 220, 37, 86, 39, 103, 42, 159, 146, 179,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
345 /* 370 */ 180, 146, 18, 146, 49, 160, 168, 188, 184, 185,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
346 /* 380 */ 155, 156, 130, 59, 60, 61, 62, 63, 64, 65,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
347 /* 390 */ 66, 67, 68, 69, 70, 71, 90, 73, 74, 75,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
348 /* 400 */ 76, 77, 78, 79, 80, 81, 82, 146, 102, 154,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
349 /* 410 */ 16, 146, 16, 146, 199, 20, 20, 146, 185, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
350 /* 420 */ 167, 20, 163, 164, 165, 7, 8, 9, 175, 168,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
351 /* 430 */ 169, 163, 164, 165, 212, 168, 169, 43, 42, 168,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
352 /* 440 */ 169, 168, 169, 188, 22, 105, 92, 107, 108, 19,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
353 /* 450 */ 23, 146, 187, 23, 130, 59, 60, 61, 62, 63,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
354 /* 460 */ 64, 65, 66, 67, 68, 69, 70, 71, 213, 73,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
355 /* 470 */ 74, 75, 76, 77, 78, 79, 80, 81, 82, 16,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
356 /* 480 */ 209, 146, 215, 20, 223, 226, 132, 154, 215, 234,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
357 /* 490 */ 23, 97, 23, 19, 226, 23, 102, 23, 109, 42,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
358 /* 500 */ 105, 23, 107, 108, 146, 42, 105, 146, 107, 108,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
359 /* 510 */ 23, 122, 207, 86, 87, 146, 86, 87, 96, 62,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
360 /* 520 */ 63, 188, 59, 60, 61, 62, 63, 64, 65, 66,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
361 /* 530 */ 67, 68, 69, 70, 71, 14, 73, 74, 75, 76,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
362 /* 540 */ 77, 78, 79, 80, 81, 82, 16, 90, 146, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
363 /* 550 */ 20, 79, 146, 86, 87, 86, 87, 30, 86, 87,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
364 /* 560 */ 86, 87, 146, 25, 86, 87, 105, 29, 107, 108,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
365 /* 570 */ 168, 169, 42, 86, 53, 146, 55, 50, 146, 41,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
366 /* 580 */ 113, 212, 113, 225, 168, 169, 146, 181, 144, 59,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
367 /* 590 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
368 /* 600 */ 70, 71, 146, 73, 74, 75, 76, 77, 78, 79,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
369 /* 610 */ 80, 81, 82, 16, 146, 22, 187, 20, 190, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
370 /* 620 */ 109, 146, 146, 146, 168, 169, 146, 191, 101, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
371 /* 630 */ 146, 225, 146, 122, 198, 146, 168, 169, 129, 42,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
372 /* 640 */ 131, 168, 169, 168, 169, 168, 169, 207, 168, 169,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
373 /* 650 */ 154, 168, 169, 132, 168, 169, 59, 60, 61, 62,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
374 /* 660 */ 63, 64, 65, 66, 67, 68, 69, 70, 71, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
375 /* 670 */ 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
376 /* 680 */ 16, 146, 27, 207, 188, 21, 146, 154, 146, 34,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
377 /* 690 */ 146, 168, 169, 146, 20, 146, 22, 146, 98, 99,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
378 /* 700 */ 100, 200, 201, 168, 169, 112, 42, 16, 168, 169,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
379 /* 710 */ 168, 169, 168, 169, 146, 168, 169, 168, 169, 168,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
380 /* 720 */ 169, 188, 22, 59, 60, 61, 62, 63, 64, 65,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
381 /* 730 */ 66, 67, 68, 69, 70, 71, 146, 73, 74, 75,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
382 /* 740 */ 76, 77, 78, 79, 80, 81, 82, 16, 146, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
383 /* 750 */ 146, 146, 146, 146, 146, 187, 146, 22, 168, 169,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
384 /* 760 */ 146, 98, 99, 100, 146, 106, 146, 123, 124, 110,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
385 /* 770 */ 168, 169, 160, 42, 168, 169, 168, 169, 168, 169,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
386 /* 780 */ 43, 90, 168, 169, 181, 181, 168, 169, 168, 169,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
387 /* 790 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
388 /* 800 */ 69, 70, 71, 146, 73, 74, 75, 76, 77, 78,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
389 /* 810 */ 79, 80, 81, 82, 16, 146, 146, 146, 146, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
390 /* 820 */ 120, 146, 87, 146, 202, 168, 169, 146, 225, 225,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
391 /* 830 */ 7, 8, 146, 20, 97, 22, 146, 168, 169, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
392 /* 840 */ 42, 168, 169, 168, 169, 168, 169, 146, 113, 168,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
393 /* 850 */ 169, 181, 181, 146, 168, 169, 79, 59, 60, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
394 /* 860 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
395 /* 870 */ 146, 73, 74, 75, 76, 77, 78, 79, 80, 81,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
396 /* 880 */ 82, 16, 146, 106, 89, 90, 146, 110, 146, 20,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
397 /* 890 */ 146, 22, 168, 169, 146, 225, 225, 20, 20, 22,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
398 /* 900 */ 22, 51, 52, 154, 168, 169, 177, 42, 168, 169,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
399 /* 910 */ 168, 169, 168, 169, 146, 177, 168, 169, 146, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
400 /* 920 */ 146, 146, 146, 19, 16, 60, 61, 62, 63, 64,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
401 /* 930 */ 65, 66, 67, 68, 69, 70, 71, 188, 73, 74,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
402 /* 940 */ 75, 76, 77, 78, 79, 80, 81, 82, 177, 20,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
403 /* 950 */ 42, 22, 146, 20, 20, 22, 22, 146, 20, 187,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
404 /* 960 */ 22, 187, 187, 187, 20, 20, 22, 22, 146, 61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
405 /* 970 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
406 /* 980 */ 19, 73, 74, 75, 76, 77, 78, 79, 80, 81,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
407 /* 990 */ 82, 16, 17, 187, 19, 146, 230, 146, 23, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
408 /* 1000 */ 231, 146, 146, 146, 146, 146, 31, 16, 17, 146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
409 /* 1010 */ 19, 171, 146, 146, 23, 111, 146, 146, 190, 192,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
410 /* 1020 */ 148, 227, 31, 48, 227, 222, 193, 193, 67, 6,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
411 /* 1030 */ 176, 171, 171, 58, 172, 171, 145, 145, 145, 48,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
412 /* 1040 */ 145, 22, 153, 97, 171, 170, 170, 40, 96, 58,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
413 /* 1050 */ 170, 170, 77, 78, 172, 120, 188, 178, 117, 119,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
414 /* 1060 */ 85, 86, 87, 221, 115, 90, 118, 193, 77, 78,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
415 /* 1070 */ 79, 129, 151, 111, 95, 23, 85, 86, 87, 16,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
416 /* 1080 */ 17, 90, 19, 195, 109, 159, 23, 197, 194, 97,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
417 /* 1090 */ 151, 114, 196, 210, 31, 210, 19, 173, 123, 124,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
418 /* 1100 */ 125, 126, 127, 128, 203, 178, 204, 204, 203, 210,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
419 /* 1110 */ 210, 48, 159, 170, 123, 124, 125, 126, 127, 128,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
420 /* 1120 */ 170, 58, 5, 15, 170, 151, 150, 10, 11, 12,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
421 /* 1130 */ 13, 173, 151, 151, 151, 19, 38, 129, 232, 23,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
422 /* 1140 */ 77, 78, 233, 26, 150, 28, 151, 59, 85, 86,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
423 /* 1150 */ 87, 183, 35, 90, 183, 19, 193, 15, 186, 186,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
424 /* 1160 */ 193, 214, 151, 183, 47, 214, 49, 33, 151, 151,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
425 /* 1170 */ 186, 54, 235, 56, 58, 136, 174, 174, 158, 1,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
426 /* 1180 */ 20, 32, 44, 19, 229, 111, 123, 124, 125, 126,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
427 /* 1190 */ 127, 128, 235, 77, 78, 111, 111, 238, 111, 19,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
428 /* 1200 */ 90, 20, 86, 20, 19, 106, 90, 11, 19, 22,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
429 /* 1210 */ 20, 20, 116, 116, 22, 98, 99, 100, 113, 22,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
430 /* 1220 */ 19, 104, 20, 111, 20, 19, 109, 20, 44, 19,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
431 /* 1230 */ 19, 19, 44, 94, 102, 16, 21, 17, 97, 123,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
432 /* 1240 */ 124, 125, 97, 45, 36, 22, 132, 19, 45, 5,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
433 /* 1250 */ 133, 1, 101, 67, 121, 19, 112, 17, 112, 101,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
434 /* 1260 */ 67, 121, 19, 14, 134, 20, 57, 3, 239, 4,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
435 /* 1270 */ 135,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
436 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
437 #define YY_SHIFT_USE_DFLT (-98)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
438 #define YY_SHIFT_MAX 369
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
439 static const short yy_shift_ofst[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
440 /* 0 */ 137, 975, 1117, -16, 975, 1063, 1063, 1063, 49, -97,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
441 /* 10 */ 118, 1063, 1063, 1063, 1063, 1063, -45, 112, 131, 478,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
442 /* 20 */ 487, 200, 200, 51, 185, 252, 324, 396, 463, 530,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
443 /* 30 */ 597, 664, 731, 798, 731, 731, 731, 731, 731, 731,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
444 /* 40 */ 731, 731, 731, 731, 731, 731, 731, 731, 731, 731,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
445 /* 50 */ 731, 865, 908, 908, 991, 1063, 1063, 1063, 1063, 1063,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
446 /* 60 */ 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
447 /* 70 */ 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
448 /* 80 */ 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063, 1063,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
449 /* 90 */ 1063, 1063, 1063, -60, -60, -14, 27, 27, 94, 85,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
450 /* 100 */ 394, 478, 478, 478, 478, 354, 478, 478, 478, 487,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
451 /* 110 */ -59, -98, -98, -98, 1116, 53, 325, 325, 291, 277,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
452 /* 120 */ 478, 277, 478, 478, 478, 478, 478, 478, 478, 478,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
453 /* 130 */ 478, 478, 478, 478, 478, 389, 511, -97, -97, -97,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
454 /* 140 */ -98, -98, 147, 147, 192, 262, 340, 430, 395, 401,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
455 /* 150 */ 195, 467, 469, 474, 472, 418, 427, 427, 777, 427,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
456 /* 160 */ 427, 73, 427, 427, 735, 427, 427, 461, 735, 427,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
457 /* 170 */ 427, 527, 527, 527, 427, 427, 461, 427, 427, 461,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
458 /* 180 */ 427, 538, 600, 427, 427, 461, 427, 427, 427, 461,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
459 /* 190 */ 427, 461, 461, 427, 427, 427, 427, 427, 427, 132,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
460 /* 200 */ 655, 659, 593, 644, 644, 509, 655, 655, 737, 655,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
461 /* 210 */ 655, 422, 700, 700, 1023, 1023, 1023, 1023, 1019, 946,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
462 /* 220 */ 946, 1007, 946, 952, 946, -97, 935, 941, 948, 949,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
463 /* 230 */ 940, 942, 962, 979, 1052, 979, 962, 992, 977, 992,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
464 /* 240 */ 977, 1077, 979, 979, 1052, 1007, 946, 946, 946, 1077,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
465 /* 250 */ 1108, 962, 962, 962, 962, 1098, 1008, 1108, 962, 1088,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
466 /* 260 */ 1088, 1136, 935, 1142, 1142, 1142, 935, 1088, 1136, 962,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
467 /* 270 */ 1134, 1134, 962, 962, 1039, -98, -98, -98, -98, 457,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
468 /* 280 */ 521, 663, 188, 306, 823, 904, 674, 691, 813, 869,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
469 /* 290 */ 877, 795, 878, 929, 933, 850, 934, 938, 944, 945,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
470 /* 300 */ 961, 1178, 1160, 1149, 1138, 1164, 1074, 1084, 1085, 1087,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
471 /* 310 */ 1180, 1181, 1183, 1110, 1099, 1185, 1196, 1189, 1190, 1187,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
472 /* 320 */ 1191, 1096, 1192, 1097, 1197, 1105, 1201, 1202, 1112, 1204,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
473 /* 330 */ 1184, 1206, 1207, 1210, 1211, 1188, 1212, 1139, 1132, 1219,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
474 /* 340 */ 1220, 1215, 1141, 1208, 1198, 1223, 1203, 1114, 1145, 1228,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
475 /* 350 */ 1244, 1250, 1151, 1186, 1193, 1133, 1236, 1144, 1240, 1146,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
476 /* 360 */ 1158, 1140, 1243, 1245, 1249, 1209, 1130, 1135, 1264, 1265,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
477 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
478 #define YY_REDUCE_USE_DFLT (-216)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
479 #define YY_REDUCE_MAX 278
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
480 static const short yy_reduce_ofst[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
481 /* 0 */ -56, 136, 16, 70, 189, 128, 67, 133, 190, 15,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
482 /* 10 */ 6, 141, 261, 271, 267, 273, -178, 255, -140, -61,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
483 /* 20 */ 146, 259, 268, -215, -215, -215, -215, -215, -215, -215,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
484 /* 30 */ -215, -215, -215, -215, -215, -215, -215, -215, -215, -215,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
485 /* 40 */ -215, -215, -215, -215, -215, -215, -215, -215, -215, -215,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
486 /* 50 */ -215, -215, -215, -215, 402, 416, 456, 468, 473, 475,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
487 /* 60 */ 477, 480, 483, 486, 523, 535, 540, 542, 544, 547,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
488 /* 70 */ 549, 551, 590, 602, 606, 608, 610, 614, 618, 620,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
489 /* 80 */ 657, 669, 673, 675, 677, 681, 686, 724, 736, 740,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
490 /* 90 */ 742, 744, 748, -215, -215, -77, -215, -215, -215, -215,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
491 /* 100 */ -26, 406, 603, 604, 670, 124, 671, 44, 225, 78,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
492 /* 110 */ -215, -215, -215, -215, 208, 253, 157, 194, -72, 139,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
493 /* 120 */ 305, 215, 358, 265, 440, 222, 476, 429, 568, 772,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
494 /* 130 */ 774, 775, 776, 369, 806, 69, 333, 496, 533, 749,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
495 /* 140 */ 436, 501, -126, -112, -81, -12, 37, 227, 37, 37,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
496 /* 150 */ 233, 335, 361, 403, 432, 444, 484, 489, 428, 432,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
497 /* 160 */ 605, 612, 607, 672, 622, 690, 693, 37, 622, 701,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
498 /* 170 */ 707, 729, 738, 771, 768, 773, 37, 811, 822, 37,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
499 /* 180 */ 849, 766, 769, 851, 853, 37, 855, 856, 857, 37,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
500 /* 190 */ 858, 37, 37, 859, 863, 866, 867, 870, 871, 872,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
501 /* 200 */ 840, 828, 827, 794, 797, 803, 860, 861, 854, 864,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
502 /* 210 */ 873, 862, 833, 834, 891, 892, 893, 895, 889, 875,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
503 /* 220 */ 876, 879, 880, 882, 881, 868, 874, 894, 888, 896,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
504 /* 230 */ 890, 842, 921, 883, 926, 885, 939, 901, 902, 905,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
505 /* 240 */ 903, 924, 899, 900, 953, 927, 943, 950, 954, 958,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
506 /* 250 */ 976, 974, 981, 982, 983, 906, 909, 994, 995, 968,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
507 /* 260 */ 971, 947, 963, 972, 973, 984, 967, 980, 951, 1011,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
508 /* 270 */ 937, 957, 1017, 1018, 959, 1020, 1002, 1003, 955,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
509 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
510 static const YYACTIONTYPE yy_default[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
511 /* 0 */ 565, 789, 854, 680, 854, 789, 854, 789, 854, 684,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
512 /* 10 */ 840, 785, 789, 854, 854, 854, 760, 854, 811, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
513 /* 20 */ 596, 811, 811, 715, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
514 /* 30 */ 854, 854, 716, 854, 788, 784, 780, 782, 781, 717,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
515 /* 40 */ 704, 713, 720, 696, 825, 722, 723, 728, 729, 841,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
516 /* 50 */ 844, 750, 766, 749, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
517 /* 60 */ 854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
518 /* 70 */ 854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
519 /* 80 */ 854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
520 /* 90 */ 854, 854, 854, 752, 771, 589, 751, 759, 753, 754,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
521 /* 100 */ 649, 854, 854, 854, 854, 584, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
522 /* 110 */ 755, 756, 767, 768, 854, 854, 854, 854, 565, 680,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
523 /* 120 */ 854, 680, 854, 854, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
524 /* 130 */ 854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
525 /* 140 */ 674, 684, 854, 854, 640, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
526 /* 150 */ 854, 854, 854, 854, 854, 572, 570, 854, 672, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
527 /* 160 */ 854, 598, 854, 854, 682, 854, 854, 687, 688, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
528 /* 170 */ 854, 854, 854, 854, 854, 854, 586, 854, 854, 661,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
529 /* 180 */ 854, 817, 854, 854, 854, 832, 854, 854, 854, 830,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
530 /* 190 */ 854, 663, 725, 799, 854, 854, 845, 847, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
531 /* 200 */ 707, 672, 681, 854, 854, 783, 707, 707, 619, 707,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
532 /* 210 */ 707, 622, 719, 719, 569, 569, 569, 569, 639, 651,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
533 /* 220 */ 651, 636, 651, 622, 651, 854, 719, 710, 712, 700,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
534 /* 230 */ 714, 854, 689, 708, 854, 708, 689, 697, 699, 697,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
535 /* 240 */ 699, 793, 708, 708, 854, 636, 651, 651, 651, 793,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
536 /* 250 */ 581, 689, 689, 689, 689, 821, 824, 581, 689, 653,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
537 /* 260 */ 653, 730, 719, 660, 660, 660, 719, 653, 730, 689,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
538 /* 270 */ 843, 843, 689, 689, 852, 606, 624, 624, 827, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
539 /* 280 */ 854, 854, 854, 854, 854, 737, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
540 /* 290 */ 854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
541 /* 300 */ 806, 854, 854, 854, 854, 854, 742, 738, 854, 739,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
542 /* 310 */ 854, 854, 854, 854, 666, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
543 /* 320 */ 854, 854, 701, 854, 711, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
544 /* 330 */ 854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
545 /* 340 */ 854, 854, 854, 854, 819, 820, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
546 /* 350 */ 854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
547 /* 360 */ 854, 854, 854, 854, 854, 851, 854, 854, 566, 854,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
548 /* 370 */ 560, 563, 562, 564, 568, 571, 593, 594, 595, 573,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
549 /* 380 */ 574, 575, 576, 577, 578, 579, 585, 587, 605, 607,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
550 /* 390 */ 614, 652, 655, 656, 657, 835, 836, 837, 615, 634,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
551 /* 400 */ 637, 638, 616, 623, 705, 706, 617, 670, 671, 734,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
552 /* 410 */ 664, 665, 669, 736, 740, 741, 743, 744, 592, 599,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
553 /* 420 */ 600, 603, 604, 807, 809, 808, 810, 602, 601, 745,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
554 /* 430 */ 748, 757, 758, 764, 770, 773, 762, 763, 765, 769,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
555 /* 440 */ 772, 667, 668, 776, 778, 779, 833, 834, 774, 786,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
556 /* 450 */ 787, 690, 777, 761, 702, 591, 709, 703, 673, 683,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
557 /* 460 */ 692, 693, 694, 695, 678, 679, 685, 698, 732, 733,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
558 /* 470 */ 686, 675, 676, 677, 775, 735, 746, 747, 618, 625,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
559 /* 480 */ 626, 627, 630, 631, 632, 633, 628, 629, 794, 795,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
560 /* 490 */ 797, 796, 620, 621, 635, 608, 609, 610, 611, 742,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
561 /* 500 */ 612, 613, 597, 590, 641, 644, 645, 646, 647, 648,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
562 /* 510 */ 650, 642, 643, 588, 580, 582, 691, 813, 822, 823,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
563 /* 520 */ 818, 814, 815, 816, 583, 790, 791, 654, 726, 727,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
564 /* 530 */ 812, 826, 828, 731, 829, 831, 658, 659, 662, 798,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
565 /* 540 */ 838, 718, 721, 724, 800, 801, 802, 803, 804, 805,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
566 /* 550 */ 839, 842, 846, 848, 849, 850, 853, 567, 561,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
567 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
568 #define YY_SZ_ACTTAB (sizeof(yy_action)/sizeof(yy_action[0]))
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
569
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
570 /* The next table maps tokens into fallback tokens. If a construct
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
571 ** like the following:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
572 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
573 ** %fallback ID X Y Z.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
574 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
575 ** appears in the grammer, then ID becomes a fallback token for X, Y,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
576 ** and Z. Whenever one of the tokens X, Y, or Z is input to the parser
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
577 ** but it does not parse, the type of the token is changed to ID and
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
578 ** the parse is retried before an error is thrown.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
579 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
580 #ifdef YYFALLBACK
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
581 static const YYCODETYPE yyFallback[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
582 0, /* $ => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
583 0, /* SEMI => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
584 23, /* EXPLAIN => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
585 23, /* QUERY => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
586 23, /* PLAN => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
587 23, /* BEGIN => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
588 0, /* TRANSACTION => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
589 23, /* DEFERRED => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
590 23, /* IMMEDIATE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
591 23, /* EXCLUSIVE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
592 0, /* COMMIT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
593 23, /* END => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
594 0, /* ROLLBACK => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
595 0, /* CREATE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
596 0, /* TABLE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
597 23, /* IF => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
598 0, /* NOT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
599 0, /* EXISTS => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
600 23, /* TEMP => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
601 0, /* LP => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
602 0, /* RP => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
603 0, /* AS => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
604 0, /* COMMA => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
605 0, /* ID => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
606 23, /* ABORT => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
607 23, /* AFTER => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
608 23, /* ANALYZE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
609 23, /* ASC => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
610 23, /* ATTACH => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
611 23, /* BEFORE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
612 23, /* CASCADE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
613 23, /* CAST => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
614 23, /* CONFLICT => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
615 23, /* DATABASE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
616 23, /* DESC => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
617 23, /* DETACH => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
618 23, /* EACH => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
619 23, /* FAIL => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
620 23, /* FOR => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
621 23, /* IGNORE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
622 23, /* INITIALLY => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
623 23, /* INSTEAD => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
624 23, /* LIKE_KW => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
625 23, /* MATCH => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
626 23, /* KEY => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
627 23, /* OF => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
628 23, /* OFFSET => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
629 23, /* PRAGMA => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
630 23, /* RAISE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
631 23, /* REPLACE => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
632 23, /* RESTRICT => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
633 23, /* ROW => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
634 23, /* STATEMENT => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
635 23, /* TRIGGER => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
636 23, /* VACUUM => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
637 23, /* VIEW => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
638 23, /* REINDEX => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
639 23, /* RENAME => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
640 23, /* CTIME_KW => ID */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
641 0, /* OR => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
642 0, /* AND => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
643 0, /* IS => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
644 0, /* BETWEEN => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
645 0, /* IN => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
646 0, /* ISNULL => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
647 0, /* NOTNULL => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
648 0, /* NE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
649 0, /* EQ => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
650 0, /* GT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
651 0, /* LE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
652 0, /* LT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
653 0, /* GE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
654 0, /* ESCAPE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
655 0, /* BITAND => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
656 0, /* BITOR => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
657 0, /* LSHIFT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
658 0, /* RSHIFT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
659 0, /* PLUS => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
660 0, /* MINUS => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
661 0, /* STAR => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
662 0, /* SLASH => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
663 0, /* REM => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
664 0, /* CONCAT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
665 0, /* UMINUS => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
666 0, /* UPLUS => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
667 0, /* BITNOT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
668 0, /* STRING => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
669 0, /* JOIN_KW => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
670 0, /* CONSTRAINT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
671 0, /* DEFAULT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
672 0, /* NULL => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
673 0, /* PRIMARY => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
674 0, /* UNIQUE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
675 0, /* CHECK => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
676 0, /* REFERENCES => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
677 0, /* COLLATE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
678 0, /* AUTOINCR => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
679 0, /* ON => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
680 0, /* DELETE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
681 0, /* UPDATE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
682 0, /* INSERT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
683 0, /* SET => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
684 0, /* DEFERRABLE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
685 0, /* FOREIGN => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
686 0, /* DROP => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
687 0, /* UNION => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
688 0, /* ALL => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
689 0, /* EXCEPT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
690 0, /* INTERSECT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
691 0, /* SELECT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
692 0, /* DISTINCT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
693 0, /* DOT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
694 0, /* FROM => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
695 0, /* JOIN => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
696 0, /* USING => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
697 0, /* ORDER => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
698 0, /* BY => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
699 0, /* GROUP => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
700 0, /* HAVING => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
701 0, /* LIMIT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
702 0, /* WHERE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
703 0, /* INTO => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
704 0, /* VALUES => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
705 0, /* INTEGER => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
706 0, /* FLOAT => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
707 0, /* BLOB => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
708 0, /* REGISTER => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
709 0, /* VARIABLE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
710 0, /* CASE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
711 0, /* WHEN => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
712 0, /* THEN => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
713 0, /* ELSE => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
714 0, /* INDEX => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
715 0, /* ALTER => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
716 0, /* TO => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
717 0, /* ADD => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
718 0, /* COLUMNKW => nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
719 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
720 #endif /* YYFALLBACK */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
721
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
722 /* The following structure represents a single element of the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
723 ** parser's stack. Information stored includes:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
724 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
725 ** + The state number for the parser at this level of the stack.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
726 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
727 ** + The value of the token stored at this level of the stack.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
728 ** (In other words, the "major" token.)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
729 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
730 ** + The semantic value stored at this level of the stack. This is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
731 ** the information used by the action routines in the grammar.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
732 ** It is sometimes called the "minor" token.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
733 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
734 struct yyStackEntry {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
735 int stateno; /* The state-number */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
736 int major; /* The major token value. This is the code
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
737 ** number for the token at this stack level */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
738 YYMINORTYPE minor; /* The user-supplied minor token value. This
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
739 ** is the value of the token */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
740 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
741 typedef struct yyStackEntry yyStackEntry;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
742
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
743 /* The state of the parser is completely contained in an instance of
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
744 ** the following structure */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
745 struct yyParser {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
746 int yyidx; /* Index of top element in stack */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
747 int yyerrcnt; /* Shifts left before out of the error */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
748 sqlite3ParserARG_SDECL /* A place to hold %extra_argument */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
749 yyStackEntry yystack[YYSTACKDEPTH]; /* The parser's stack */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
750 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
751 typedef struct yyParser yyParser;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
752
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
753 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
754 #include <stdio.h>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
755 static FILE *yyTraceFILE = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
756 static char *yyTracePrompt = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
757 #endif /* NDEBUG */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
758
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
759 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
760 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
761 ** Turn parser tracing on by giving a stream to which to write the trace
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
762 ** and a prompt to preface each trace message. Tracing is turned off
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
763 ** by making either argument NULL
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
764 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
765 ** Inputs:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
766 ** <ul>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
767 ** <li> A FILE* to which trace output should be written.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
768 ** If NULL, then tracing is turned off.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
769 ** <li> A prefix string written at the beginning of every
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
770 ** line of trace output. If NULL, then tracing is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
771 ** turned off.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
772 ** </ul>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
773 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
774 ** Outputs:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
775 ** None.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
776 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
777 void sqlite3ParserTrace(FILE *TraceFILE, char *zTracePrompt){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
778 yyTraceFILE = TraceFILE;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
779 yyTracePrompt = zTracePrompt;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
780 if( yyTraceFILE==0 ) yyTracePrompt = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
781 else if( yyTracePrompt==0 ) yyTraceFILE = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
782 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
783 #endif /* NDEBUG */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
784
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
785 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
786 /* For tracing shifts, the names of all terminals and nonterminals
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
787 ** are required. The following table supplies these names */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
788 static const char *const yyTokenName[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
789 "$", "SEMI", "EXPLAIN", "QUERY",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
790 "PLAN", "BEGIN", "TRANSACTION", "DEFERRED",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
791 "IMMEDIATE", "EXCLUSIVE", "COMMIT", "END",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
792 "ROLLBACK", "CREATE", "TABLE", "IF",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
793 "NOT", "EXISTS", "TEMP", "LP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
794 "RP", "AS", "COMMA", "ID",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
795 "ABORT", "AFTER", "ANALYZE", "ASC",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
796 "ATTACH", "BEFORE", "CASCADE", "CAST",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
797 "CONFLICT", "DATABASE", "DESC", "DETACH",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
798 "EACH", "FAIL", "FOR", "IGNORE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
799 "INITIALLY", "INSTEAD", "LIKE_KW", "MATCH",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
800 "KEY", "OF", "OFFSET", "PRAGMA",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
801 "RAISE", "REPLACE", "RESTRICT", "ROW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
802 "STATEMENT", "TRIGGER", "VACUUM", "VIEW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
803 "REINDEX", "RENAME", "CTIME_KW", "OR",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
804 "AND", "IS", "BETWEEN", "IN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
805 "ISNULL", "NOTNULL", "NE", "EQ",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
806 "GT", "LE", "LT", "GE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
807 "ESCAPE", "BITAND", "BITOR", "LSHIFT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
808 "RSHIFT", "PLUS", "MINUS", "STAR",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
809 "SLASH", "REM", "CONCAT", "UMINUS",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
810 "UPLUS", "BITNOT", "STRING", "JOIN_KW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
811 "CONSTRAINT", "DEFAULT", "NULL", "PRIMARY",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
812 "UNIQUE", "CHECK", "REFERENCES", "COLLATE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
813 "AUTOINCR", "ON", "DELETE", "UPDATE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
814 "INSERT", "SET", "DEFERRABLE", "FOREIGN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
815 "DROP", "UNION", "ALL", "EXCEPT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
816 "INTERSECT", "SELECT", "DISTINCT", "DOT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
817 "FROM", "JOIN", "USING", "ORDER",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
818 "BY", "GROUP", "HAVING", "LIMIT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
819 "WHERE", "INTO", "VALUES", "INTEGER",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
820 "FLOAT", "BLOB", "REGISTER", "VARIABLE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
821 "CASE", "WHEN", "THEN", "ELSE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
822 "INDEX", "ALTER", "TO", "ADD",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
823 "COLUMNKW", "error", "input", "cmdlist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
824 "ecmd", "cmdx", "cmd", "explain",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
825 "transtype", "trans_opt", "nm", "create_table",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
826 "create_table_args", "temp", "ifnotexists", "dbnm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
827 "columnlist", "conslist_opt", "select", "column",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
828 "columnid", "type", "carglist", "id",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
829 "ids", "typetoken", "typename", "signed",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
830 "plus_num", "minus_num", "carg", "ccons",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
831 "term", "expr", "onconf", "sortorder",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
832 "autoinc", "idxlist_opt", "refargs", "defer_subclause",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
833 "refarg", "refact", "init_deferred_pred_opt", "conslist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
834 "tcons", "idxlist", "defer_subclause_opt", "orconf",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
835 "resolvetype", "raisetype", "ifexists", "fullname",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
836 "oneselect", "multiselect_op", "distinct", "selcollist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
837 "from", "where_opt", "groupby_opt", "having_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
838 "orderby_opt", "limit_opt", "sclp", "as",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
839 "seltablist", "stl_prefix", "joinop", "on_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
840 "using_opt", "seltablist_paren", "joinop2", "inscollist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
841 "sortlist", "sortitem", "collate", "exprlist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
842 "setlist", "insert_cmd", "inscollist_opt", "itemlist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
843 "likeop", "escape", "between_op", "in_op",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
844 "case_operand", "case_exprlist", "case_else", "expritem",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
845 "uniqueflag", "idxitem", "plus_opt", "number",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
846 "trigger_decl", "trigger_cmd_list", "trigger_time", "trigger_event",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
847 "foreach_clause", "when_clause", "trigger_cmd", "database_kw_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
848 "key_opt", "add_column_fullname", "kwcolumn_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
849 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
850 #endif /* NDEBUG */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
851
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
852 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
853 /* For tracing reduce actions, the names of all rules are required.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
854 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
855 static const char *const yyRuleName[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
856 /* 0 */ "input ::= cmdlist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
857 /* 1 */ "cmdlist ::= cmdlist ecmd",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
858 /* 2 */ "cmdlist ::= ecmd",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
859 /* 3 */ "cmdx ::= cmd",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
860 /* 4 */ "ecmd ::= SEMI",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
861 /* 5 */ "ecmd ::= explain cmdx SEMI",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
862 /* 6 */ "explain ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
863 /* 7 */ "explain ::= EXPLAIN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
864 /* 8 */ "explain ::= EXPLAIN QUERY PLAN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
865 /* 9 */ "cmd ::= BEGIN transtype trans_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
866 /* 10 */ "trans_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
867 /* 11 */ "trans_opt ::= TRANSACTION",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
868 /* 12 */ "trans_opt ::= TRANSACTION nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
869 /* 13 */ "transtype ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
870 /* 14 */ "transtype ::= DEFERRED",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
871 /* 15 */ "transtype ::= IMMEDIATE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
872 /* 16 */ "transtype ::= EXCLUSIVE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
873 /* 17 */ "cmd ::= COMMIT trans_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
874 /* 18 */ "cmd ::= END trans_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
875 /* 19 */ "cmd ::= ROLLBACK trans_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
876 /* 20 */ "cmd ::= create_table create_table_args",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
877 /* 21 */ "create_table ::= CREATE temp TABLE ifnotexists nm dbnm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
878 /* 22 */ "ifnotexists ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
879 /* 23 */ "ifnotexists ::= IF NOT EXISTS",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
880 /* 24 */ "temp ::= TEMP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
881 /* 25 */ "temp ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
882 /* 26 */ "create_table_args ::= LP columnlist conslist_opt RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
883 /* 27 */ "create_table_args ::= AS select",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
884 /* 28 */ "columnlist ::= columnlist COMMA column",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
885 /* 29 */ "columnlist ::= column",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
886 /* 30 */ "column ::= columnid type carglist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
887 /* 31 */ "columnid ::= nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
888 /* 32 */ "id ::= ID",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
889 /* 33 */ "ids ::= ID|STRING",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
890 /* 34 */ "nm ::= ID",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
891 /* 35 */ "nm ::= STRING",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
892 /* 36 */ "nm ::= JOIN_KW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
893 /* 37 */ "type ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
894 /* 38 */ "type ::= typetoken",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
895 /* 39 */ "typetoken ::= typename",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
896 /* 40 */ "typetoken ::= typename LP signed RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
897 /* 41 */ "typetoken ::= typename LP signed COMMA signed RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
898 /* 42 */ "typename ::= ids",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
899 /* 43 */ "typename ::= typename ids",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
900 /* 44 */ "signed ::= plus_num",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
901 /* 45 */ "signed ::= minus_num",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
902 /* 46 */ "carglist ::= carglist carg",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
903 /* 47 */ "carglist ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
904 /* 48 */ "carg ::= CONSTRAINT nm ccons",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
905 /* 49 */ "carg ::= ccons",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
906 /* 50 */ "carg ::= DEFAULT term",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
907 /* 51 */ "carg ::= DEFAULT LP expr RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
908 /* 52 */ "carg ::= DEFAULT PLUS term",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
909 /* 53 */ "carg ::= DEFAULT MINUS term",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
910 /* 54 */ "carg ::= DEFAULT id",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
911 /* 55 */ "ccons ::= NULL onconf",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
912 /* 56 */ "ccons ::= NOT NULL onconf",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
913 /* 57 */ "ccons ::= PRIMARY KEY sortorder onconf autoinc",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
914 /* 58 */ "ccons ::= UNIQUE onconf",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
915 /* 59 */ "ccons ::= CHECK LP expr RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
916 /* 60 */ "ccons ::= REFERENCES nm idxlist_opt refargs",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
917 /* 61 */ "ccons ::= defer_subclause",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
918 /* 62 */ "ccons ::= COLLATE id",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
919 /* 63 */ "autoinc ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
920 /* 64 */ "autoinc ::= AUTOINCR",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
921 /* 65 */ "refargs ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
922 /* 66 */ "refargs ::= refargs refarg",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
923 /* 67 */ "refarg ::= MATCH nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
924 /* 68 */ "refarg ::= ON DELETE refact",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
925 /* 69 */ "refarg ::= ON UPDATE refact",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
926 /* 70 */ "refarg ::= ON INSERT refact",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
927 /* 71 */ "refact ::= SET NULL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
928 /* 72 */ "refact ::= SET DEFAULT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
929 /* 73 */ "refact ::= CASCADE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
930 /* 74 */ "refact ::= RESTRICT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
931 /* 75 */ "defer_subclause ::= NOT DEFERRABLE init_deferred_pred_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
932 /* 76 */ "defer_subclause ::= DEFERRABLE init_deferred_pred_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
933 /* 77 */ "init_deferred_pred_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
934 /* 78 */ "init_deferred_pred_opt ::= INITIALLY DEFERRED",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
935 /* 79 */ "init_deferred_pred_opt ::= INITIALLY IMMEDIATE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
936 /* 80 */ "conslist_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
937 /* 81 */ "conslist_opt ::= COMMA conslist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
938 /* 82 */ "conslist ::= conslist COMMA tcons",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
939 /* 83 */ "conslist ::= conslist tcons",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
940 /* 84 */ "conslist ::= tcons",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
941 /* 85 */ "tcons ::= CONSTRAINT nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
942 /* 86 */ "tcons ::= PRIMARY KEY LP idxlist autoinc RP onconf",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
943 /* 87 */ "tcons ::= UNIQUE LP idxlist RP onconf",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
944 /* 88 */ "tcons ::= CHECK LP expr RP onconf",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
945 /* 89 */ "tcons ::= FOREIGN KEY LP idxlist RP REFERENCES nm idxlist_opt refargs defer_subclause_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
946 /* 90 */ "defer_subclause_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
947 /* 91 */ "defer_subclause_opt ::= defer_subclause",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
948 /* 92 */ "onconf ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
949 /* 93 */ "onconf ::= ON CONFLICT resolvetype",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
950 /* 94 */ "orconf ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
951 /* 95 */ "orconf ::= OR resolvetype",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
952 /* 96 */ "resolvetype ::= raisetype",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
953 /* 97 */ "resolvetype ::= IGNORE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
954 /* 98 */ "resolvetype ::= REPLACE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
955 /* 99 */ "cmd ::= DROP TABLE ifexists fullname",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
956 /* 100 */ "ifexists ::= IF EXISTS",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
957 /* 101 */ "ifexists ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
958 /* 102 */ "cmd ::= CREATE temp VIEW nm dbnm AS select",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
959 /* 103 */ "cmd ::= DROP VIEW ifexists fullname",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
960 /* 104 */ "cmd ::= select",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
961 /* 105 */ "select ::= oneselect",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
962 /* 106 */ "select ::= select multiselect_op oneselect",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
963 /* 107 */ "multiselect_op ::= UNION",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
964 /* 108 */ "multiselect_op ::= UNION ALL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
965 /* 109 */ "multiselect_op ::= EXCEPT|INTERSECT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
966 /* 110 */ "oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt orderby_opt limit_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
967 /* 111 */ "distinct ::= DISTINCT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
968 /* 112 */ "distinct ::= ALL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
969 /* 113 */ "distinct ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
970 /* 114 */ "sclp ::= selcollist COMMA",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
971 /* 115 */ "sclp ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
972 /* 116 */ "selcollist ::= sclp expr as",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
973 /* 117 */ "selcollist ::= sclp STAR",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
974 /* 118 */ "selcollist ::= sclp nm DOT STAR",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
975 /* 119 */ "as ::= AS nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
976 /* 120 */ "as ::= ids",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
977 /* 121 */ "as ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
978 /* 122 */ "from ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
979 /* 123 */ "from ::= FROM seltablist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
980 /* 124 */ "stl_prefix ::= seltablist joinop",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
981 /* 125 */ "stl_prefix ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
982 /* 126 */ "seltablist ::= stl_prefix nm dbnm as on_opt using_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
983 /* 127 */ "seltablist ::= stl_prefix LP seltablist_paren RP as on_opt using_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
984 /* 128 */ "seltablist_paren ::= select",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
985 /* 129 */ "seltablist_paren ::= seltablist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
986 /* 130 */ "dbnm ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
987 /* 131 */ "dbnm ::= DOT nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
988 /* 132 */ "fullname ::= nm dbnm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
989 /* 133 */ "joinop ::= COMMA|JOIN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
990 /* 134 */ "joinop ::= JOIN_KW JOIN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
991 /* 135 */ "joinop ::= JOIN_KW nm JOIN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
992 /* 136 */ "joinop ::= JOIN_KW nm nm JOIN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
993 /* 137 */ "on_opt ::= ON expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
994 /* 138 */ "on_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
995 /* 139 */ "using_opt ::= USING LP inscollist RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
996 /* 140 */ "using_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
997 /* 141 */ "orderby_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
998 /* 142 */ "orderby_opt ::= ORDER BY sortlist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
999 /* 143 */ "sortlist ::= sortlist COMMA sortitem collate sortorder",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1000 /* 144 */ "sortlist ::= sortitem collate sortorder",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1001 /* 145 */ "sortitem ::= expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1002 /* 146 */ "sortorder ::= ASC",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1003 /* 147 */ "sortorder ::= DESC",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1004 /* 148 */ "sortorder ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1005 /* 149 */ "collate ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1006 /* 150 */ "collate ::= COLLATE id",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1007 /* 151 */ "groupby_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1008 /* 152 */ "groupby_opt ::= GROUP BY exprlist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1009 /* 153 */ "having_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1010 /* 154 */ "having_opt ::= HAVING expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1011 /* 155 */ "limit_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1012 /* 156 */ "limit_opt ::= LIMIT expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1013 /* 157 */ "limit_opt ::= LIMIT expr OFFSET expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1014 /* 158 */ "limit_opt ::= LIMIT expr COMMA expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1015 /* 159 */ "cmd ::= DELETE FROM fullname where_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1016 /* 160 */ "where_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1017 /* 161 */ "where_opt ::= WHERE expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1018 /* 162 */ "cmd ::= UPDATE orconf fullname SET setlist where_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1019 /* 163 */ "setlist ::= setlist COMMA nm EQ expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1020 /* 164 */ "setlist ::= nm EQ expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1021 /* 165 */ "cmd ::= insert_cmd INTO fullname inscollist_opt VALUES LP itemlist RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1022 /* 166 */ "cmd ::= insert_cmd INTO fullname inscollist_opt select",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1023 /* 167 */ "insert_cmd ::= INSERT orconf",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1024 /* 168 */ "insert_cmd ::= REPLACE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1025 /* 169 */ "itemlist ::= itemlist COMMA expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1026 /* 170 */ "itemlist ::= expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1027 /* 171 */ "inscollist_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1028 /* 172 */ "inscollist_opt ::= LP inscollist RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1029 /* 173 */ "inscollist ::= inscollist COMMA nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1030 /* 174 */ "inscollist ::= nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1031 /* 175 */ "expr ::= term",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1032 /* 176 */ "expr ::= LP expr RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1033 /* 177 */ "term ::= NULL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1034 /* 178 */ "expr ::= ID",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1035 /* 179 */ "expr ::= JOIN_KW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1036 /* 180 */ "expr ::= nm DOT nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1037 /* 181 */ "expr ::= nm DOT nm DOT nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1038 /* 182 */ "term ::= INTEGER|FLOAT|BLOB",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1039 /* 183 */ "term ::= STRING",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1040 /* 184 */ "expr ::= REGISTER",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1041 /* 185 */ "expr ::= VARIABLE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1042 /* 186 */ "expr ::= CAST LP expr AS typetoken RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1043 /* 187 */ "expr ::= ID LP distinct exprlist RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1044 /* 188 */ "expr ::= ID LP STAR RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1045 /* 189 */ "term ::= CTIME_KW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1046 /* 190 */ "expr ::= expr AND expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1047 /* 191 */ "expr ::= expr OR expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1048 /* 192 */ "expr ::= expr LT|GT|GE|LE expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1049 /* 193 */ "expr ::= expr EQ|NE expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1050 /* 194 */ "expr ::= expr BITAND|BITOR|LSHIFT|RSHIFT expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1051 /* 195 */ "expr ::= expr PLUS|MINUS expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1052 /* 196 */ "expr ::= expr STAR|SLASH|REM expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1053 /* 197 */ "expr ::= expr CONCAT expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1054 /* 198 */ "likeop ::= LIKE_KW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1055 /* 199 */ "likeop ::= NOT LIKE_KW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1056 /* 200 */ "escape ::= ESCAPE expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1057 /* 201 */ "escape ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1058 /* 202 */ "expr ::= expr likeop expr escape",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1059 /* 203 */ "expr ::= expr ISNULL|NOTNULL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1060 /* 204 */ "expr ::= expr IS NULL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1061 /* 205 */ "expr ::= expr NOT NULL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1062 /* 206 */ "expr ::= expr IS NOT NULL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1063 /* 207 */ "expr ::= NOT|BITNOT expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1064 /* 208 */ "expr ::= MINUS expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1065 /* 209 */ "expr ::= PLUS expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1066 /* 210 */ "between_op ::= BETWEEN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1067 /* 211 */ "between_op ::= NOT BETWEEN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1068 /* 212 */ "expr ::= expr between_op expr AND expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1069 /* 213 */ "in_op ::= IN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1070 /* 214 */ "in_op ::= NOT IN",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1071 /* 215 */ "expr ::= expr in_op LP exprlist RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1072 /* 216 */ "expr ::= LP select RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1073 /* 217 */ "expr ::= expr in_op LP select RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1074 /* 218 */ "expr ::= expr in_op nm dbnm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1075 /* 219 */ "expr ::= EXISTS LP select RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1076 /* 220 */ "expr ::= CASE case_operand case_exprlist case_else END",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1077 /* 221 */ "case_exprlist ::= case_exprlist WHEN expr THEN expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1078 /* 222 */ "case_exprlist ::= WHEN expr THEN expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1079 /* 223 */ "case_else ::= ELSE expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1080 /* 224 */ "case_else ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1081 /* 225 */ "case_operand ::= expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1082 /* 226 */ "case_operand ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1083 /* 227 */ "exprlist ::= exprlist COMMA expritem",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1084 /* 228 */ "exprlist ::= expritem",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1085 /* 229 */ "expritem ::= expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1086 /* 230 */ "expritem ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1087 /* 231 */ "cmd ::= CREATE uniqueflag INDEX ifnotexists nm dbnm ON nm LP idxlist RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1088 /* 232 */ "uniqueflag ::= UNIQUE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1089 /* 233 */ "uniqueflag ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1090 /* 234 */ "idxlist_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1091 /* 235 */ "idxlist_opt ::= LP idxlist RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1092 /* 236 */ "idxlist ::= idxlist COMMA idxitem collate sortorder",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1093 /* 237 */ "idxlist ::= idxitem collate sortorder",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1094 /* 238 */ "idxitem ::= nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1095 /* 239 */ "cmd ::= DROP INDEX ifexists fullname",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1096 /* 240 */ "cmd ::= VACUUM",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1097 /* 241 */ "cmd ::= VACUUM nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1098 /* 242 */ "cmd ::= PRAGMA nm dbnm EQ nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1099 /* 243 */ "cmd ::= PRAGMA nm dbnm EQ ON",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1100 /* 244 */ "cmd ::= PRAGMA nm dbnm EQ plus_num",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1101 /* 245 */ "cmd ::= PRAGMA nm dbnm EQ minus_num",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1102 /* 246 */ "cmd ::= PRAGMA nm dbnm LP nm RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1103 /* 247 */ "cmd ::= PRAGMA nm dbnm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1104 /* 248 */ "plus_num ::= plus_opt number",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1105 /* 249 */ "minus_num ::= MINUS number",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1106 /* 250 */ "number ::= INTEGER|FLOAT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1107 /* 251 */ "plus_opt ::= PLUS",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1108 /* 252 */ "plus_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1109 /* 253 */ "cmd ::= CREATE trigger_decl BEGIN trigger_cmd_list END",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1110 /* 254 */ "trigger_decl ::= temp TRIGGER nm dbnm trigger_time trigger_event ON fullname foreach_clause when_clause",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1111 /* 255 */ "trigger_time ::= BEFORE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1112 /* 256 */ "trigger_time ::= AFTER",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1113 /* 257 */ "trigger_time ::= INSTEAD OF",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1114 /* 258 */ "trigger_time ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1115 /* 259 */ "trigger_event ::= DELETE|INSERT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1116 /* 260 */ "trigger_event ::= UPDATE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1117 /* 261 */ "trigger_event ::= UPDATE OF inscollist",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1118 /* 262 */ "foreach_clause ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1119 /* 263 */ "foreach_clause ::= FOR EACH ROW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1120 /* 264 */ "foreach_clause ::= FOR EACH STATEMENT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1121 /* 265 */ "when_clause ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1122 /* 266 */ "when_clause ::= WHEN expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1123 /* 267 */ "trigger_cmd_list ::= trigger_cmd_list trigger_cmd SEMI",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1124 /* 268 */ "trigger_cmd_list ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1125 /* 269 */ "trigger_cmd ::= UPDATE orconf nm SET setlist where_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1126 /* 270 */ "trigger_cmd ::= insert_cmd INTO nm inscollist_opt VALUES LP itemlist RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1127 /* 271 */ "trigger_cmd ::= insert_cmd INTO nm inscollist_opt select",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1128 /* 272 */ "trigger_cmd ::= DELETE FROM nm where_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1129 /* 273 */ "trigger_cmd ::= select",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1130 /* 274 */ "expr ::= RAISE LP IGNORE RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1131 /* 275 */ "expr ::= RAISE LP raisetype COMMA nm RP",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1132 /* 276 */ "raisetype ::= ROLLBACK",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1133 /* 277 */ "raisetype ::= ABORT",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1134 /* 278 */ "raisetype ::= FAIL",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1135 /* 279 */ "cmd ::= DROP TRIGGER fullname",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1136 /* 280 */ "cmd ::= ATTACH database_kw_opt expr AS expr key_opt",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1137 /* 281 */ "key_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1138 /* 282 */ "key_opt ::= KEY expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1139 /* 283 */ "database_kw_opt ::= DATABASE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1140 /* 284 */ "database_kw_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1141 /* 285 */ "cmd ::= DETACH database_kw_opt expr",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1142 /* 286 */ "cmd ::= REINDEX",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1143 /* 287 */ "cmd ::= REINDEX nm dbnm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1144 /* 288 */ "cmd ::= ANALYZE",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1145 /* 289 */ "cmd ::= ANALYZE nm dbnm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1146 /* 290 */ "cmd ::= ALTER TABLE fullname RENAME TO nm",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1147 /* 291 */ "cmd ::= ALTER TABLE add_column_fullname ADD kwcolumn_opt column",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1148 /* 292 */ "add_column_fullname ::= fullname",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1149 /* 293 */ "kwcolumn_opt ::=",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1150 /* 294 */ "kwcolumn_opt ::= COLUMNKW",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1151 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1152 #endif /* NDEBUG */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1153
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1154 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1155 ** This function returns the symbolic name associated with a token
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1156 ** value.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1157 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1158 const char *sqlite3ParserTokenName(int tokenType){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1159 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1160 if( tokenType>0 && tokenType<(sizeof(yyTokenName)/sizeof(yyTokenName[0])) ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1161 return yyTokenName[tokenType];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1162 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1163 return "Unknown";
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1164 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1165 #else
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1166 return "";
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1167 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1168 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1169
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1170 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1171 ** This function allocates a new parser.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1172 ** The only argument is a pointer to a function which works like
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1173 ** malloc.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1174 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1175 ** Inputs:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1176 ** A pointer to the function used to allocate memory.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1177 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1178 ** Outputs:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1179 ** A pointer to a parser. This pointer is used in subsequent calls
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1180 ** to sqlite3Parser and sqlite3ParserFree.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1181 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1182 void *sqlite3ParserAlloc(void *(*mallocProc)(size_t)){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1183 yyParser *pParser;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1184 pParser = (yyParser*)(*mallocProc)( (size_t)sizeof(yyParser) );
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1185 if( pParser ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1186 pParser->yyidx = -1;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1187 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1188 return pParser;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1189 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1190
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1191 /* The following function deletes the value associated with a
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1192 ** symbol. The symbol can be either a terminal or nonterminal.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1193 ** "yymajor" is the symbol code, and "yypminor" is a pointer to
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1194 ** the value.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1195 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1196 static void yy_destructor(YYCODETYPE yymajor, YYMINORTYPE *yypminor){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1197 switch( yymajor ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1198 /* Here is inserted the actions which take place when a
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1199 ** terminal or non-terminal is destroyed. This can happen
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1200 ** when the symbol is popped from the stack during a
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1201 ** reduce or during error processing or when a parser is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1202 ** being destroyed before it is finished parsing.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1203 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1204 ** Note: during a reduce, the only symbols destroyed are those
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1205 ** which appear on the RHS of the rule, but which are not used
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1206 ** inside the C code.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1207 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1208 case 154:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1209 case 188:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1210 case 205:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1211 #line 373 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1212 {sqlite3SelectDelete((yypminor->yy239));}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1213 #line 1215 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1214 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1215 case 168:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1216 case 169:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1217 case 193:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1218 case 195:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1219 case 203:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1220 case 209:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1221 case 217:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1222 case 220:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1223 case 222:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1224 case 223:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1225 case 233:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1226 #line 630 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1227 {sqlite3ExprDelete((yypminor->yy178));}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1228 #line 1230 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1229 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1230 case 173:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1231 case 181:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1232 case 191:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1233 case 194:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1234 case 196:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1235 case 198:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1236 case 208:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1237 case 211:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1238 case 212:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1239 case 215:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1240 case 221:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1241 #line 861 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1242 {sqlite3ExprListDelete((yypminor->yy462));}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1243 #line 1245 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1244 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1245 case 187:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1246 case 192:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1247 case 200:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1248 case 201:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1249 #line 501 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1250 {sqlite3SrcListDelete((yypminor->yy285));}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1251 #line 1253 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1252 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1253 case 197:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1254 #line 562 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1255 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1256 sqlite3ExprDelete((yypminor->yy270).pLimit);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1257 sqlite3ExprDelete((yypminor->yy270).pOffset);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1258 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1259 #line 1261 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1260 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1261 case 204:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1262 case 207:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1263 case 214:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1264 #line 518 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1265 {sqlite3IdListDelete((yypminor->yy160));}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1266 #line 1268 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1267 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1268 case 229:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1269 case 234:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1270 #line 955 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1271 {sqlite3DeleteTriggerStep((yypminor->yy247));}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1272 #line 1274 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1273 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1274 case 231:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1275 #line 939 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1276 {sqlite3IdListDelete((yypminor->yy132).b);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1277 #line 1279 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1278 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1279 case 236:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1280 #line 1023 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1281 {sqlite3ExprDelete((yypminor->yy292));}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1282 #line 1284 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1283 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1284 default: break; /* If no destructor action specified: do nothing */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1285 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1286 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1287
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1288 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1289 ** Pop the parser's stack once.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1290 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1291 ** If there is a destructor routine associated with the token which
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1292 ** is popped from the stack, then call it.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1293 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1294 ** Return the major token number for the symbol popped.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1295 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1296 static int yy_pop_parser_stack(yyParser *pParser){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1297 YYCODETYPE yymajor;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1298 yyStackEntry *yytos = &pParser->yystack[pParser->yyidx];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1299
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1300 if( pParser->yyidx<0 ) return 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1301 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1302 if( yyTraceFILE && pParser->yyidx>=0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1303 fprintf(yyTraceFILE,"%sPopping %s\n",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1304 yyTracePrompt,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1305 yyTokenName[yytos->major]);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1306 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1307 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1308 yymajor = yytos->major;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1309 yy_destructor( yymajor, &yytos->minor);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1310 pParser->yyidx--;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1311 return yymajor;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1312 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1313
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1314 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1315 ** Deallocate and destroy a parser. Destructors are all called for
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1316 ** all stack elements before shutting the parser down.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1317 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1318 ** Inputs:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1319 ** <ul>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1320 ** <li> A pointer to the parser. This should be a pointer
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1321 ** obtained from sqlite3ParserAlloc.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1322 ** <li> A pointer to a function used to reclaim memory obtained
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1323 ** from malloc.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1324 ** </ul>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1325 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1326 void sqlite3ParserFree(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1327 void *p, /* The parser to be deleted */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1328 void (*freeProc)(void*) /* Function used to reclaim memory */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1329 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1330 yyParser *pParser = (yyParser*)p;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1331 if( pParser==0 ) return;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1332 while( pParser->yyidx>=0 ) yy_pop_parser_stack(pParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1333 (*freeProc)((void*)pParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1334 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1335
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1336 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1337 ** Find the appropriate action for a parser given the terminal
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1338 ** look-ahead token iLookAhead.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1339 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1340 ** If the look-ahead token is YYNOCODE, then check to see if the action is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1341 ** independent of the look-ahead. If it is, return the action, otherwise
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1342 ** return YY_NO_ACTION.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1343 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1344 static int yy_find_shift_action(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1345 yyParser *pParser, /* The parser */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1346 int iLookAhead /* The look-ahead token */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1347 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1348 int i;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1349 int stateno = pParser->yystack[pParser->yyidx].stateno;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1350
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1351 if( stateno>YY_SHIFT_MAX || (i = yy_shift_ofst[stateno])==YY_SHIFT_USE_DFLT ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1352 return yy_default[stateno];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1353 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1354 if( iLookAhead==YYNOCODE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1355 return YY_NO_ACTION;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1356 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1357 i += iLookAhead;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1358 if( i<0 || i>=YY_SZ_ACTTAB || yy_lookahead[i]!=iLookAhead ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1359 #ifdef YYFALLBACK
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1360 int iFallback; /* Fallback token */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1361 if( iLookAhead<sizeof(yyFallback)/sizeof(yyFallback[0])
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1362 && (iFallback = yyFallback[iLookAhead])!=0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1363 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1364 if( yyTraceFILE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1365 fprintf(yyTraceFILE, "%sFALLBACK %s => %s\n",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1366 yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[iFallback]);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1367 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1368 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1369 return yy_find_shift_action(pParser, iFallback);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1370 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1371 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1372 return yy_default[stateno];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1373 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1374 return yy_action[i];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1375 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1376 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1377
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1378 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1379 ** Find the appropriate action for a parser given the non-terminal
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1380 ** look-ahead token iLookAhead.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1381 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1382 ** If the look-ahead token is YYNOCODE, then check to see if the action is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1383 ** independent of the look-ahead. If it is, return the action, otherwise
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1384 ** return YY_NO_ACTION.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1385 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1386 static int yy_find_reduce_action(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1387 int stateno, /* Current state number */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1388 int iLookAhead /* The look-ahead token */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1389 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1390 int i;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1391 /* int stateno = pParser->yystack[pParser->yyidx].stateno; */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1392
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1393 if( stateno>YY_REDUCE_MAX ||
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1394 (i = yy_reduce_ofst[stateno])==YY_REDUCE_USE_DFLT ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1395 return yy_default[stateno];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1396 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1397 if( iLookAhead==YYNOCODE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1398 return YY_NO_ACTION;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1399 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1400 i += iLookAhead;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1401 if( i<0 || i>=YY_SZ_ACTTAB || yy_lookahead[i]!=iLookAhead ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1402 return yy_default[stateno];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1403 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1404 return yy_action[i];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1405 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1406 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1407
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1408 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1409 ** Perform a shift action.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1410 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1411 static void yy_shift(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1412 yyParser *yypParser, /* The parser to be shifted */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1413 int yyNewState, /* The new state to shift in */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1414 int yyMajor, /* The major token to shift in */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1415 YYMINORTYPE *yypMinor /* Pointer ot the minor token to shift in */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1416 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1417 yyStackEntry *yytos;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1418 yypParser->yyidx++;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1419 if( yypParser->yyidx>=YYSTACKDEPTH ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1420 sqlite3ParserARG_FETCH;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1421 yypParser->yyidx--;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1422 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1423 if( yyTraceFILE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1424 fprintf(yyTraceFILE,"%sStack Overflow!\n",yyTracePrompt);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1425 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1426 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1427 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1428 /* Here code is inserted which will execute if the parser
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1429 ** stack every overflows */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1430 #line 44 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1431
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1432 sqlite3ErrorMsg(pParse, "parser stack overflow");
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1433 pParse->parseError = 1;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1434 #line 1437 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1435 sqlite3ParserARG_STORE; /* Suppress warning about unused %extra_argument var */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1436 return;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1437 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1438 yytos = &yypParser->yystack[yypParser->yyidx];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1439 yytos->stateno = yyNewState;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1440 yytos->major = yyMajor;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1441 yytos->minor = *yypMinor;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1442 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1443 if( yyTraceFILE && yypParser->yyidx>0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1444 int i;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1445 fprintf(yyTraceFILE,"%sShift %d\n",yyTracePrompt,yyNewState);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1446 fprintf(yyTraceFILE,"%sStack:",yyTracePrompt);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1447 for(i=1; i<=yypParser->yyidx; i++)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1448 fprintf(yyTraceFILE," %s",yyTokenName[yypParser->yystack[i].major]);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1449 fprintf(yyTraceFILE,"\n");
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1450 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1451 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1452 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1453
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1454 /* The following table contains information about every rule that
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1455 ** is used during the reduce.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1456 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1457 static const struct {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1458 YYCODETYPE lhs; /* Symbol on the left-hand side of the rule */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1459 unsigned char nrhs; /* Number of right-hand side symbols in the rule */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1460 } yyRuleInfo[] = {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1461 { 138, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1462 { 139, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1463 { 139, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1464 { 141, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1465 { 140, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1466 { 140, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1467 { 143, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1468 { 143, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1469 { 143, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1470 { 142, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1471 { 145, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1472 { 145, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1473 { 145, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1474 { 144, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1475 { 144, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1476 { 144, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1477 { 144, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1478 { 142, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1479 { 142, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1480 { 142, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1481 { 142, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1482 { 147, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1483 { 150, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1484 { 150, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1485 { 149, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1486 { 149, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1487 { 148, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1488 { 148, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1489 { 152, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1490 { 152, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1491 { 155, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1492 { 156, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1493 { 159, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1494 { 160, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1495 { 146, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1496 { 146, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1497 { 146, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1498 { 157, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1499 { 157, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1500 { 161, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1501 { 161, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1502 { 161, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1503 { 162, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1504 { 162, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1505 { 163, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1506 { 163, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1507 { 158, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1508 { 158, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1509 { 166, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1510 { 166, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1511 { 166, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1512 { 166, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1513 { 166, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1514 { 166, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1515 { 166, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1516 { 167, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1517 { 167, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1518 { 167, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1519 { 167, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1520 { 167, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1521 { 167, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1522 { 167, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1523 { 167, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1524 { 172, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1525 { 172, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1526 { 174, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1527 { 174, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1528 { 176, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1529 { 176, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1530 { 176, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1531 { 176, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1532 { 177, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1533 { 177, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1534 { 177, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1535 { 177, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1536 { 175, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1537 { 175, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1538 { 178, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1539 { 178, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1540 { 178, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1541 { 153, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1542 { 153, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1543 { 179, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1544 { 179, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1545 { 179, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1546 { 180, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1547 { 180, 7 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1548 { 180, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1549 { 180, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1550 { 180, 10 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1551 { 182, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1552 { 182, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1553 { 170, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1554 { 170, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1555 { 183, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1556 { 183, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1557 { 184, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1558 { 184, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1559 { 184, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1560 { 142, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1561 { 186, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1562 { 186, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1563 { 142, 7 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1564 { 142, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1565 { 142, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1566 { 154, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1567 { 154, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1568 { 189, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1569 { 189, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1570 { 189, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1571 { 188, 9 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1572 { 190, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1573 { 190, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1574 { 190, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1575 { 198, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1576 { 198, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1577 { 191, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1578 { 191, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1579 { 191, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1580 { 199, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1581 { 199, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1582 { 199, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1583 { 192, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1584 { 192, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1585 { 201, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1586 { 201, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1587 { 200, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1588 { 200, 7 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1589 { 205, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1590 { 205, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1591 { 151, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1592 { 151, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1593 { 187, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1594 { 202, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1595 { 202, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1596 { 202, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1597 { 202, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1598 { 203, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1599 { 203, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1600 { 204, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1601 { 204, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1602 { 196, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1603 { 196, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1604 { 208, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1605 { 208, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1606 { 209, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1607 { 171, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1608 { 171, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1609 { 171, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1610 { 210, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1611 { 210, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1612 { 194, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1613 { 194, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1614 { 195, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1615 { 195, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1616 { 197, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1617 { 197, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1618 { 197, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1619 { 197, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1620 { 142, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1621 { 193, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1622 { 193, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1623 { 142, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1624 { 212, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1625 { 212, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1626 { 142, 8 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1627 { 142, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1628 { 213, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1629 { 213, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1630 { 215, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1631 { 215, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1632 { 214, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1633 { 214, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1634 { 207, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1635 { 207, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1636 { 169, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1637 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1638 { 168, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1639 { 169, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1640 { 169, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1641 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1642 { 169, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1643 { 168, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1644 { 168, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1645 { 169, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1646 { 169, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1647 { 169, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1648 { 169, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1649 { 169, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1650 { 168, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1651 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1652 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1653 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1654 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1655 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1656 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1657 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1658 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1659 { 216, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1660 { 216, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1661 { 217, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1662 { 217, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1663 { 169, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1664 { 169, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1665 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1666 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1667 { 169, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1668 { 169, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1669 { 169, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1670 { 169, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1671 { 218, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1672 { 218, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1673 { 169, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1674 { 219, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1675 { 219, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1676 { 169, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1677 { 169, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1678 { 169, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1679 { 169, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1680 { 169, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1681 { 169, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1682 { 221, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1683 { 221, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1684 { 222, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1685 { 222, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1686 { 220, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1687 { 220, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1688 { 211, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1689 { 211, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1690 { 223, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1691 { 223, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1692 { 142, 11 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1693 { 224, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1694 { 224, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1695 { 173, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1696 { 173, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1697 { 181, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1698 { 181, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1699 { 225, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1700 { 142, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1701 { 142, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1702 { 142, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1703 { 142, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1704 { 142, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1705 { 142, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1706 { 142, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1707 { 142, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1708 { 142, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1709 { 164, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1710 { 165, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1711 { 227, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1712 { 226, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1713 { 226, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1714 { 142, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1715 { 228, 10 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1716 { 230, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1717 { 230, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1718 { 230, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1719 { 230, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1720 { 231, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1721 { 231, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1722 { 231, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1723 { 232, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1724 { 232, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1725 { 232, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1726 { 233, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1727 { 233, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1728 { 229, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1729 { 229, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1730 { 234, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1731 { 234, 8 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1732 { 234, 5 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1733 { 234, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1734 { 234, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1735 { 169, 4 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1736 { 169, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1737 { 185, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1738 { 185, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1739 { 185, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1740 { 142, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1741 { 142, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1742 { 236, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1743 { 236, 2 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1744 { 235, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1745 { 235, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1746 { 142, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1747 { 142, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1748 { 142, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1749 { 142, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1750 { 142, 3 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1751 { 142, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1752 { 142, 6 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1753 { 237, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1754 { 238, 0 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1755 { 238, 1 },
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1756 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1757
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1758 static void yy_accept(yyParser*); /* Forward Declaration */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1759
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1760 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1761 ** Perform a reduce action and the shift that must immediately
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1762 ** follow the reduce.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1763 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1764 static void yy_reduce(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1765 yyParser *yypParser, /* The parser */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1766 int yyruleno /* Number of the rule by which to reduce */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1767 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1768 int yygoto; /* The next state */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1769 int yyact; /* The next action */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1770 YYMINORTYPE yygotominor; /* The LHS of the rule reduced */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1771 yyStackEntry *yymsp; /* The top of the parser's stack */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1772 int yysize; /* Amount to pop the stack */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1773 sqlite3ParserARG_FETCH;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1774 yymsp = &yypParser->yystack[yypParser->yyidx];
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1775 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1776 if( yyTraceFILE && yyruleno>=0
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1777 && yyruleno<sizeof(yyRuleName)/sizeof(yyRuleName[0]) ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1778 fprintf(yyTraceFILE, "%sReduce [%s].\n", yyTracePrompt,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1779 yyRuleName[yyruleno]);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1780 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1781 #endif /* NDEBUG */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1782
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1783 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1784 /* Silence complaints from purify about yygotominor being uninitialized
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1785 ** in some cases when it is copied into the stack after the following
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1786 ** switch. yygotominor is uninitialized when a rule reduces that does
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1787 ** not set the value of its left-hand side nonterminal. Leaving the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1788 ** value of the nonterminal uninitialized is utterly harmless as long
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1789 ** as the value is never used. So really the only thing this code
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1790 ** accomplishes is to quieten purify.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1791 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1792 memset(&yygotominor, 0, sizeof(yygotominor));
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1793 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1794
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1795 switch( yyruleno ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1796 /* Beginning here are the reduction cases. A typical example
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1797 ** follows:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1798 ** case 0:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1799 ** #line <lineno> <grammarfile>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1800 ** { ... } // User supplied code
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1801 ** #line <lineno> <thisfile>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1802 ** break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1803 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1804 case 3:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1805 #line 100 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1806 { sqlite3FinishCoding(pParse); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1807 #line 1810 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1808 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1809 case 6:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1810 #line 103 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1811 { sqlite3BeginParse(pParse, 0); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1812 #line 1815 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1813 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1814 case 7:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1815 #line 105 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1816 { sqlite3BeginParse(pParse, 1); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1817 #line 1820 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1818 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1819 case 8:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1820 #line 106 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1821 { sqlite3BeginParse(pParse, 2); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1822 #line 1825 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1823 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1824 case 9:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1825 #line 112 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1826 {sqlite3BeginTransaction(pParse, yymsp[-1].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1827 #line 1830 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1828 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1829 case 13:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1830 #line 117 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1831 {yygotominor.yy230 = TK_DEFERRED;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1832 #line 1835 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1833 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1834 case 14:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1835 case 15:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1836 case 16:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1837 case 107:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1838 case 109:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1839 #line 118 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1840 {yygotominor.yy230 = yymsp[0].major;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1841 #line 1844 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1842 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1843 case 17:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1844 case 18:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1845 #line 121 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1846 {sqlite3CommitTransaction(pParse);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1847 #line 1850 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1848 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1849 case 19:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1850 #line 123 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1851 {sqlite3RollbackTransaction(pParse);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1852 #line 1855 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1853 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1854 case 21:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1855 #line 128 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1856 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1857 sqlite3StartTable(pParse,&yymsp[-1].minor.yy384,&yymsp[0].minor.yy384,yymsp[-4].minor.yy230,0,yymsp[-2].minor.yy230);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1858 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1859 #line 1862 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1860 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1861 case 22:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1862 case 25:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1863 case 63:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1864 case 77:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1865 case 79:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1866 case 90:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1867 case 101:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1868 case 112:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1869 case 113:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1870 case 210:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1871 case 213:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1872 #line 132 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1873 {yygotominor.yy230 = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1874 #line 1877 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1875 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1876 case 23:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1877 case 24:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1878 case 64:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1879 case 78:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1880 case 100:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1881 case 111:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1882 case 211:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1883 case 214:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1884 #line 133 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1885 {yygotominor.yy230 = 1;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1886 #line 1889 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1887 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1888 case 26:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1889 #line 139 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1890 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1891 sqlite3EndTable(pParse,&yymsp[-1].minor.yy384,&yymsp[0].minor.yy0,0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1892 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1893 #line 1896 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1894 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1895 case 27:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1896 #line 142 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1897 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1898 sqlite3EndTable(pParse,0,0,yymsp[0].minor.yy239);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1899 sqlite3SelectDelete(yymsp[0].minor.yy239);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1900 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1901 #line 1904 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1902 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1903 case 30:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1904 #line 154 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1905 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1906 yygotominor.yy384.z = yymsp[-2].minor.yy384.z;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1907 yygotominor.yy384.n = (pParse->sLastToken.z-yymsp[-2].minor.yy384.z) + pParse->sLastToken.n;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1908 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1909 #line 1912 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1910 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1911 case 31:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1912 #line 158 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1913 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1914 sqlite3AddColumn(pParse,&yymsp[0].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1915 yygotominor.yy384 = yymsp[0].minor.yy384;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1916 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1917 #line 1920 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1918 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1919 case 32:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1920 case 33:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1921 case 34:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1922 case 35:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1923 case 36:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1924 case 250:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1925 #line 168 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1926 {yygotominor.yy384 = yymsp[0].minor.yy0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1927 #line 1930 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1928 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1929 case 38:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1930 #line 227 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1931 {sqlite3AddColumnType(pParse,&yymsp[0].minor.yy384);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1932 #line 1935 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1933 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1934 case 39:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1935 case 42:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1936 case 119:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1937 case 120:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1938 case 131:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1939 case 150:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1940 case 238:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1941 case 248:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1942 case 249:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1943 #line 228 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1944 {yygotominor.yy384 = yymsp[0].minor.yy384;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1945 #line 1948 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1946 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1947 case 40:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1948 #line 229 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1949 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1950 yygotominor.yy384.z = yymsp[-3].minor.yy384.z;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1951 yygotominor.yy384.n = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n] - yymsp[-3].minor.yy384.z;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1952 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1953 #line 1956 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1954 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1955 case 41:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1956 #line 233 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1957 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1958 yygotominor.yy384.z = yymsp[-5].minor.yy384.z;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1959 yygotominor.yy384.n = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n] - yymsp[-5].minor.yy384.z;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1960 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1961 #line 1964 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1962 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1963 case 43:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1964 #line 239 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1965 {yygotominor.yy384.z=yymsp[-1].minor.yy384.z; yygotominor.yy384.n=yymsp[0].minor.yy384.n+(yymsp[0].minor.yy384.z-yymsp[-1].minor.yy384.z);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1966 #line 1969 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1967 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1968 case 44:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1969 #line 241 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1970 { yygotominor.yy230 = atoi((char*)yymsp[0].minor.yy384.z); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1971 #line 1974 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1972 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1973 case 45:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1974 #line 242 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1975 { yygotominor.yy230 = -atoi((char*)yymsp[0].minor.yy384.z); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1976 #line 1979 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1977 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1978 case 50:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1979 case 52:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1980 #line 251 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1981 {sqlite3AddDefaultValue(pParse,yymsp[0].minor.yy178);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1982 #line 1985 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1983 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1984 case 51:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1985 #line 252 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1986 {sqlite3AddDefaultValue(pParse,yymsp[-1].minor.yy178);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1987 #line 1990 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1988 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1989 case 53:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1990 #line 254 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1991 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1992 Expr *p = sqlite3Expr(TK_UMINUS, yymsp[0].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1993 sqlite3AddDefaultValue(pParse,p);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1994 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1995 #line 1998 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1996 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1997 case 54:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1998 #line 258 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
1999 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2000 Expr *p = sqlite3Expr(TK_STRING, 0, 0, &yymsp[0].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2001 sqlite3AddDefaultValue(pParse,p);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2002 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2003 #line 2006 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2004 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2005 case 56:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2006 #line 267 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2007 {sqlite3AddNotNull(pParse, yymsp[0].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2008 #line 2011 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2009 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2010 case 57:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2011 #line 269 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2012 {sqlite3AddPrimaryKey(pParse,0,yymsp[-1].minor.yy230,yymsp[0].minor.yy230,yymsp[-2].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2013 #line 2016 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2014 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2015 case 58:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2016 #line 270 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2017 {sqlite3CreateIndex(pParse,0,0,0,0,yymsp[0].minor.yy230,0,0,0,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2018 #line 2021 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2019 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2020 case 59:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2021 #line 271 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2022 {sqlite3AddCheckConstraint(pParse,yymsp[-1].minor.yy178);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2023 #line 2026 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2024 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2025 case 60:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2026 #line 273 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2027 {sqlite3CreateForeignKey(pParse,0,&yymsp[-2].minor.yy384,yymsp[-1].minor.yy462,yymsp[0].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2028 #line 2031 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2029 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2030 case 61:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2031 #line 274 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2032 {sqlite3DeferForeignKey(pParse,yymsp[0].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2033 #line 2036 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2034 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2035 case 62:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2036 #line 275 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2037 {sqlite3AddCollateType(pParse, (char*)yymsp[0].minor.yy384.z, yymsp[0].minor.yy384.n);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2038 #line 2041 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2039 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2040 case 65:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2041 #line 288 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2042 { yygotominor.yy230 = OE_Restrict * 0x010101; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2043 #line 2046 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2044 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2045 case 66:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2046 #line 289 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2047 { yygotominor.yy230 = (yymsp[-1].minor.yy230 & yymsp[0].minor.yy13.mask) | yymsp[0].minor.yy13.value; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2048 #line 2051 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2049 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2050 case 67:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2051 #line 291 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2052 { yygotominor.yy13.value = 0; yygotominor.yy13.mask = 0x000000; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2053 #line 2056 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2054 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2055 case 68:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2056 #line 292 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2057 { yygotominor.yy13.value = yymsp[0].minor.yy230; yygotominor.yy13.mask = 0x0000ff; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2058 #line 2061 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2059 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2060 case 69:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2061 #line 293 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2062 { yygotominor.yy13.value = yymsp[0].minor.yy230<<8; yygotominor.yy13.mask = 0x00ff00; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2063 #line 2066 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2064 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2065 case 70:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2066 #line 294 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2067 { yygotominor.yy13.value = yymsp[0].minor.yy230<<16; yygotominor.yy13.mask = 0xff0000; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2068 #line 2071 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2069 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2070 case 71:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2071 #line 296 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2072 { yygotominor.yy230 = OE_SetNull; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2073 #line 2076 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2074 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2075 case 72:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2076 #line 297 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2077 { yygotominor.yy230 = OE_SetDflt; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2078 #line 2081 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2079 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2080 case 73:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2081 #line 298 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2082 { yygotominor.yy230 = OE_Cascade; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2083 #line 2086 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2084 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2085 case 74:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2086 #line 299 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2087 { yygotominor.yy230 = OE_Restrict; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2088 #line 2091 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2089 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2090 case 75:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2091 case 76:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2092 case 91:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2093 case 93:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2094 case 95:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2095 case 96:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2096 case 167:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2097 #line 301 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2098 {yygotominor.yy230 = yymsp[0].minor.yy230;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2099 #line 2102 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2100 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2101 case 80:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2102 #line 311 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2103 {yygotominor.yy384.n = 0; yygotominor.yy384.z = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2104 #line 2107 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2105 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2106 case 81:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2107 #line 312 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2108 {yygotominor.yy384 = yymsp[-1].minor.yy0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2109 #line 2112 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2110 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2111 case 86:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2112 #line 318 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2113 {sqlite3AddPrimaryKey(pParse,yymsp[-3].minor.yy462,yymsp[0].minor.yy230,yymsp[-2].minor.yy230,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2114 #line 2117 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2115 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2116 case 87:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2117 #line 320 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2118 {sqlite3CreateIndex(pParse,0,0,0,yymsp[-2].minor.yy462,yymsp[0].minor.yy230,0,0,0,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2119 #line 2122 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2120 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2121 case 88:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2122 #line 321 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2123 {sqlite3AddCheckConstraint(pParse,yymsp[-2].minor.yy178);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2124 #line 2127 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2125 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2126 case 89:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2127 #line 323 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2128 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2129 sqlite3CreateForeignKey(pParse, yymsp[-6].minor.yy462, &yymsp[-3].minor.yy384, yymsp[-2].minor.yy462, yymsp[-1].minor.yy230);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2130 sqlite3DeferForeignKey(pParse, yymsp[0].minor.yy230);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2131 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2132 #line 2135 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2133 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2134 case 92:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2135 case 94:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2136 #line 337 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2137 {yygotominor.yy230 = OE_Default;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2138 #line 2141 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2139 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2140 case 97:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2141 #line 342 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2142 {yygotominor.yy230 = OE_Ignore;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2143 #line 2146 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2144 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2145 case 98:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2146 case 168:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2147 #line 343 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2148 {yygotominor.yy230 = OE_Replace;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2149 #line 2152 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2150 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2151 case 99:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2152 #line 347 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2153 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2154 sqlite3DropTable(pParse, yymsp[0].minor.yy285, 0, yymsp[-1].minor.yy230);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2155 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2156 #line 2159 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2157 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2158 case 102:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2159 #line 357 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2160 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2161 sqlite3CreateView(pParse, &yymsp[-6].minor.yy0, &yymsp[-3].minor.yy384, &yymsp[-2].minor.yy384, yymsp[0].minor.yy239, yymsp[-5].minor.yy230);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2162 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2163 #line 2166 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2164 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2165 case 103:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2166 #line 360 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2167 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2168 sqlite3DropTable(pParse, yymsp[0].minor.yy285, 1, yymsp[-1].minor.yy230);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2169 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2170 #line 2173 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2171 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2172 case 104:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2173 #line 367 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2174 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2175 sqlite3Select(pParse, yymsp[0].minor.yy239, SRT_Callback, 0, 0, 0, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2176 sqlite3SelectDelete(yymsp[0].minor.yy239);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2177 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2178 #line 2181 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2179 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2180 case 105:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2181 case 128:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2182 #line 377 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2183 {yygotominor.yy239 = yymsp[0].minor.yy239;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2184 #line 2187 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2185 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2186 case 106:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2187 #line 379 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2188 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2189 if( yymsp[0].minor.yy239 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2190 yymsp[0].minor.yy239->op = yymsp[-1].minor.yy230;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2191 yymsp[0].minor.yy239->pPrior = yymsp[-2].minor.yy239;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2192 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2193 yygotominor.yy239 = yymsp[0].minor.yy239;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2194 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2195 #line 2198 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2196 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2197 case 108:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2198 #line 388 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2199 {yygotominor.yy230 = TK_ALL;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2200 #line 2203 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2201 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2202 case 110:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2203 #line 392 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2204 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2205 yygotominor.yy239 = sqlite3SelectNew(yymsp[-6].minor.yy462,yymsp[-5].minor.yy285,yymsp[-4].minor.yy178,yymsp[-3].minor.yy462,yymsp[-2].minor.yy178,yymsp[-1].minor.yy462,yymsp[-7].minor.yy230,yymsp[0].minor.yy270.pLimit,yymsp[0].minor.yy270.pOffset);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2206 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2207 #line 2210 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2208 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2209 case 114:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2210 case 235:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2211 #line 413 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2212 {yygotominor.yy462 = yymsp[-1].minor.yy462;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2213 #line 2216 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2214 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2215 case 115:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2216 case 141:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2217 case 151:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2218 case 234:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2219 #line 414 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2220 {yygotominor.yy462 = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2221 #line 2224 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2222 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2223 case 116:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2224 #line 415 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2225 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2226 yygotominor.yy462 = sqlite3ExprListAppend(yymsp[-2].minor.yy462,yymsp[-1].minor.yy178,yymsp[0].minor.yy384.n?&yymsp[0].minor.yy384:0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2227 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2228 #line 2231 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2229 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2230 case 117:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2231 #line 418 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2232 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2233 yygotominor.yy462 = sqlite3ExprListAppend(yymsp[-1].minor.yy462, sqlite3Expr(TK_ALL, 0, 0, 0), 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2234 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2235 #line 2238 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2236 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2237 case 118:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2238 #line 421 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2239 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2240 Expr *pRight = sqlite3Expr(TK_ALL, 0, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2241 Expr *pLeft = sqlite3Expr(TK_ID, 0, 0, &yymsp[-2].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2242 yygotominor.yy462 = sqlite3ExprListAppend(yymsp[-3].minor.yy462, sqlite3Expr(TK_DOT, pLeft, pRight, 0), 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2243 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2244 #line 2247 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2245 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2246 case 121:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2247 #line 433 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2248 {yygotominor.yy384.n = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2249 #line 2252 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2250 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2251 case 122:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2252 #line 445 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2253 {yygotominor.yy285 = sqliteMalloc(sizeof(*yygotominor.yy285));}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2254 #line 2257 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2255 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2256 case 123:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2257 #line 446 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2258 {yygotominor.yy285 = yymsp[0].minor.yy285;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2259 #line 2262 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2260 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2261 case 124:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2262 #line 451 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2263 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2264 yygotominor.yy285 = yymsp[-1].minor.yy285;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2265 if( yygotominor.yy285 && yygotominor.yy285->nSrc>0 ) yygotominor.yy285->a[yygotominor.yy285->nSrc-1].jointype = yymsp[0].minor.yy230;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2266 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2267 #line 2270 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2268 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2269 case 125:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2270 #line 455 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2271 {yygotominor.yy285 = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2272 #line 2275 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2273 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2274 case 126:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2275 #line 456 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2276 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2277 yygotominor.yy285 = sqlite3SrcListAppend(yymsp[-5].minor.yy285,&yymsp[-4].minor.yy384,&yymsp[-3].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2278 if( yymsp[-2].minor.yy384.n ) sqlite3SrcListAddAlias(yygotominor.yy285,&yymsp[-2].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2279 if( yymsp[-1].minor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2280 if( yygotominor.yy285 && yygotominor.yy285->nSrc>1 ){ yygotominor.yy285->a[yygotominor.yy285->nSrc-2].pOn = yymsp[-1].minor.yy178; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2281 else { sqlite3ExprDelete(yymsp[-1].minor.yy178); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2282 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2283 if( yymsp[0].minor.yy160 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2284 if( yygotominor.yy285 && yygotominor.yy285->nSrc>1 ){ yygotominor.yy285->a[yygotominor.yy285->nSrc-2].pUsing = yymsp[0].minor.yy160; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2285 else { sqlite3IdListDelete(yymsp[0].minor.yy160); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2286 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2287 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2288 #line 2291 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2289 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2290 case 127:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2291 #line 470 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2292 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2293 yygotominor.yy285 = sqlite3SrcListAppend(yymsp[-6].minor.yy285,0,0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2294 yygotominor.yy285->a[yygotominor.yy285->nSrc-1].pSelect = yymsp[-4].minor.yy239;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2295 if( yymsp[-2].minor.yy384.n ) sqlite3SrcListAddAlias(yygotominor.yy285,&yymsp[-2].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2296 if( yymsp[-1].minor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2297 if( yygotominor.yy285 && yygotominor.yy285->nSrc>1 ){ yygotominor.yy285->a[yygotominor.yy285->nSrc-2].pOn = yymsp[-1].minor.yy178; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2298 else { sqlite3ExprDelete(yymsp[-1].minor.yy178); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2299 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2300 if( yymsp[0].minor.yy160 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2301 if( yygotominor.yy285 && yygotominor.yy285->nSrc>1 ){ yygotominor.yy285->a[yygotominor.yy285->nSrc-2].pUsing = yymsp[0].minor.yy160; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2302 else { sqlite3IdListDelete(yymsp[0].minor.yy160); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2303 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2304 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2305 #line 2308 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2306 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2307 case 129:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2308 #line 491 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2309 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2310 yygotominor.yy239 = sqlite3SelectNew(0,yymsp[0].minor.yy285,0,0,0,0,0,0,0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2311 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2312 #line 2315 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2313 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2314 case 130:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2315 #line 497 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2316 {yygotominor.yy384.z=0; yygotominor.yy384.n=0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2317 #line 2320 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2318 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2319 case 132:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2320 #line 502 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2321 {yygotominor.yy285 = sqlite3SrcListAppend(0,&yymsp[-1].minor.yy384,&yymsp[0].minor.yy384);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2322 #line 2325 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2323 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2324 case 133:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2325 #line 506 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2326 { yygotominor.yy230 = JT_INNER; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2327 #line 2330 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2328 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2329 case 134:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2330 #line 507 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2331 { yygotominor.yy230 = sqlite3JoinType(pParse,&yymsp[-1].minor.yy0,0,0); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2332 #line 2335 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2333 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2334 case 135:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2335 #line 508 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2336 { yygotominor.yy230 = sqlite3JoinType(pParse,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy384,0); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2337 #line 2340 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2338 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2339 case 136:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2340 #line 510 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2341 { yygotominor.yy230 = sqlite3JoinType(pParse,&yymsp[-3].minor.yy0,&yymsp[-2].minor.yy384,&yymsp[-1].minor.yy384); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2342 #line 2345 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2343 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2344 case 137:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2345 case 145:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2346 case 154:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2347 case 161:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2348 case 175:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2349 case 200:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2350 case 223:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2351 case 225:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2352 case 229:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2353 #line 514 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2354 {yygotominor.yy178 = yymsp[0].minor.yy178;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2355 #line 2358 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2356 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2357 case 138:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2358 case 153:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2359 case 160:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2360 case 201:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2361 case 224:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2362 case 226:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2363 case 230:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2364 #line 515 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2365 {yygotominor.yy178 = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2366 #line 2369 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2367 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2368 case 139:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2369 case 172:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2370 #line 519 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2371 {yygotominor.yy160 = yymsp[-1].minor.yy160;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2372 #line 2375 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2373 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2374 case 140:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2375 case 171:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2376 #line 520 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2377 {yygotominor.yy160 = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2378 #line 2381 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2379 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2380 case 142:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2381 case 152:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2382 #line 531 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2383 {yygotominor.yy462 = yymsp[0].minor.yy462;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2384 #line 2387 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2385 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2386 case 143:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2387 #line 532 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2388 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2389 yygotominor.yy462 = sqlite3ExprListAppend(yymsp[-4].minor.yy462,yymsp[-2].minor.yy178,yymsp[-1].minor.yy384.n>0?&yymsp[-1].minor.yy384:0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2390 if( yygotominor.yy462 ) yygotominor.yy462->a[yygotominor.yy462->nExpr-1].sortOrder = yymsp[0].minor.yy230;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2391 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2392 #line 2395 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2393 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2394 case 144:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2395 #line 536 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2396 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2397 yygotominor.yy462 = sqlite3ExprListAppend(0,yymsp[-2].minor.yy178,yymsp[-1].minor.yy384.n>0?&yymsp[-1].minor.yy384:0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2398 if( yygotominor.yy462 && yygotominor.yy462->a ) yygotominor.yy462->a[0].sortOrder = yymsp[0].minor.yy230;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2399 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2400 #line 2403 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2401 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2402 case 146:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2403 case 148:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2404 #line 545 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2405 {yygotominor.yy230 = SQLITE_SO_ASC;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2406 #line 2409 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2407 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2408 case 147:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2409 #line 546 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2410 {yygotominor.yy230 = SQLITE_SO_DESC;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2411 #line 2414 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2412 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2413 case 149:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2414 #line 548 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2415 {yygotominor.yy384.z = 0; yygotominor.yy384.n = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2416 #line 2419 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2417 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2418 case 155:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2419 #line 566 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2420 {yygotominor.yy270.pLimit = 0; yygotominor.yy270.pOffset = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2421 #line 2424 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2422 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2423 case 156:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2424 #line 567 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2425 {yygotominor.yy270.pLimit = yymsp[0].minor.yy178; yygotominor.yy270.pOffset = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2426 #line 2429 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2427 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2428 case 157:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2429 #line 569 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2430 {yygotominor.yy270.pLimit = yymsp[-2].minor.yy178; yygotominor.yy270.pOffset = yymsp[0].minor.yy178;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2431 #line 2434 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2432 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2433 case 158:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2434 #line 571 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2435 {yygotominor.yy270.pOffset = yymsp[-2].minor.yy178; yygotominor.yy270.pLimit = yymsp[0].minor.yy178;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2436 #line 2439 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2437 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2438 case 159:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2439 #line 575 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2440 {sqlite3DeleteFrom(pParse,yymsp[-1].minor.yy285,yymsp[0].minor.yy178);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2441 #line 2444 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2442 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2443 case 162:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2444 #line 586 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2445 {sqlite3Update(pParse,yymsp[-3].minor.yy285,yymsp[-1].minor.yy462,yymsp[0].minor.yy178,yymsp[-4].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2446 #line 2449 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2447 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2448 case 163:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2449 #line 592 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2450 {yygotominor.yy462 = sqlite3ExprListAppend(yymsp[-4].minor.yy462,yymsp[0].minor.yy178,&yymsp[-2].minor.yy384);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2451 #line 2454 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2452 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2453 case 164:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2454 #line 593 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2455 {yygotominor.yy462 = sqlite3ExprListAppend(0,yymsp[0].minor.yy178,&yymsp[-2].minor.yy384);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2456 #line 2459 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2457 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2458 case 165:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2459 #line 599 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2460 {sqlite3Insert(pParse, yymsp[-5].minor.yy285, yymsp[-1].minor.yy462, 0, yymsp[-4].minor.yy160, yymsp[-7].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2461 #line 2464 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2462 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2463 case 166:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2464 #line 601 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2465 {sqlite3Insert(pParse, yymsp[-2].minor.yy285, 0, yymsp[0].minor.yy239, yymsp[-1].minor.yy160, yymsp[-4].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2466 #line 2469 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2467 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2468 case 169:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2469 case 227:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2470 #line 611 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2471 {yygotominor.yy462 = sqlite3ExprListAppend(yymsp[-2].minor.yy462,yymsp[0].minor.yy178,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2472 #line 2475 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2473 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2474 case 170:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2475 case 228:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2476 #line 612 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2477 {yygotominor.yy462 = sqlite3ExprListAppend(0,yymsp[0].minor.yy178,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2478 #line 2481 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2479 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2480 case 173:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2481 #line 621 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2482 {yygotominor.yy160 = sqlite3IdListAppend(yymsp[-2].minor.yy160,&yymsp[0].minor.yy384);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2483 #line 2486 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2484 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2485 case 174:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2486 #line 622 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2487 {yygotominor.yy160 = sqlite3IdListAppend(0,&yymsp[0].minor.yy384);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2488 #line 2491 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2489 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2490 case 176:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2491 #line 633 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2492 {yygotominor.yy178 = yymsp[-1].minor.yy178; sqlite3ExprSpan(yygotominor.yy178,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2493 #line 2496 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2494 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2495 case 177:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2496 case 182:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2497 case 183:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2498 #line 634 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2499 {yygotominor.yy178 = sqlite3Expr(yymsp[0].major, 0, 0, &yymsp[0].minor.yy0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2500 #line 2503 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2501 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2502 case 178:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2503 case 179:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2504 #line 635 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2505 {yygotominor.yy178 = sqlite3Expr(TK_ID, 0, 0, &yymsp[0].minor.yy0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2506 #line 2509 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2507 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2508 case 180:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2509 #line 637 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2510 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2511 Expr *temp1 = sqlite3Expr(TK_ID, 0, 0, &yymsp[-2].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2512 Expr *temp2 = sqlite3Expr(TK_ID, 0, 0, &yymsp[0].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2513 yygotominor.yy178 = sqlite3Expr(TK_DOT, temp1, temp2, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2514 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2515 #line 2518 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2516 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2517 case 181:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2518 #line 642 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2519 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2520 Expr *temp1 = sqlite3Expr(TK_ID, 0, 0, &yymsp[-4].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2521 Expr *temp2 = sqlite3Expr(TK_ID, 0, 0, &yymsp[-2].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2522 Expr *temp3 = sqlite3Expr(TK_ID, 0, 0, &yymsp[0].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2523 Expr *temp4 = sqlite3Expr(TK_DOT, temp2, temp3, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2524 yygotominor.yy178 = sqlite3Expr(TK_DOT, temp1, temp4, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2525 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2526 #line 2529 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2527 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2528 case 184:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2529 #line 651 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2530 {yygotominor.yy178 = sqlite3RegisterExpr(pParse, &yymsp[0].minor.yy0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2531 #line 2534 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2532 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2533 case 185:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2534 #line 652 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2535 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2536 Token *pToken = &yymsp[0].minor.yy0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2537 Expr *pExpr = yygotominor.yy178 = sqlite3Expr(TK_VARIABLE, 0, 0, pToken);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2538 sqlite3ExprAssignVarNumber(pParse, pExpr);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2539 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2540 #line 2543 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2541 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2542 case 186:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2543 #line 658 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2544 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2545 yygotominor.yy178 = sqlite3Expr(TK_CAST, yymsp[-3].minor.yy178, 0, &yymsp[-1].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2546 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-5].minor.yy0,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2547 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2548 #line 2551 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2549 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2550 case 187:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2551 #line 663 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2552 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2553 yygotominor.yy178 = sqlite3ExprFunction(yymsp[-1].minor.yy462, &yymsp[-4].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2554 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-4].minor.yy0,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2555 if( yymsp[-2].minor.yy230 && yygotominor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2556 yygotominor.yy178->flags |= EP_Distinct;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2557 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2558 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2559 #line 2562 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2560 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2561 case 188:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2562 #line 670 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2563 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2564 yygotominor.yy178 = sqlite3ExprFunction(0, &yymsp[-3].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2565 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-3].minor.yy0,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2566 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2567 #line 2570 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2568 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2569 case 189:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2570 #line 674 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2571 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2572 /* The CURRENT_TIME, CURRENT_DATE, and CURRENT_TIMESTAMP values are
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2573 ** treated as functions that return constants */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2574 yygotominor.yy178 = sqlite3ExprFunction(0,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2575 if( yygotominor.yy178 ) yygotominor.yy178->op = TK_CONST_FUNC;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2576 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2577 #line 2580 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2578 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2579 case 190:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2580 case 191:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2581 case 192:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2582 case 193:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2583 case 194:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2584 case 195:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2585 case 196:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2586 case 197:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2587 #line 680 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2588 {yygotominor.yy178 = sqlite3Expr(yymsp[-1].major, yymsp[-2].minor.yy178, yymsp[0].minor.yy178, 0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2589 #line 2592 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2590 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2591 case 198:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2592 #line 690 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2593 {yygotominor.yy440.eOperator = yymsp[0].minor.yy0; yygotominor.yy440.not = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2594 #line 2597 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2595 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2596 case 199:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2597 #line 691 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2598 {yygotominor.yy440.eOperator = yymsp[0].minor.yy0; yygotominor.yy440.not = 1;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2599 #line 2602 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2600 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2601 case 202:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2602 #line 696 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2603 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2604 ExprList *pList;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2605 pList = sqlite3ExprListAppend(0, yymsp[-1].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2606 pList = sqlite3ExprListAppend(pList, yymsp[-3].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2607 if( yymsp[0].minor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2608 pList = sqlite3ExprListAppend(pList, yymsp[0].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2609 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2610 yygotominor.yy178 = sqlite3ExprFunction(pList, &yymsp[-2].minor.yy440.eOperator);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2611 if( yymsp[-2].minor.yy440.not ) yygotominor.yy178 = sqlite3Expr(TK_NOT, yygotominor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2612 sqlite3ExprSpan(yygotominor.yy178, &yymsp[-3].minor.yy178->span, &yymsp[-1].minor.yy178->span);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2613 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2614 #line 2617 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2615 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2616 case 203:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2617 #line 708 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2618 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2619 yygotominor.yy178 = sqlite3Expr(yymsp[0].major, yymsp[-1].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2620 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-1].minor.yy178->span,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2621 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2622 #line 2625 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2623 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2624 case 204:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2625 #line 712 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2626 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2627 yygotominor.yy178 = sqlite3Expr(TK_ISNULL, yymsp[-2].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2628 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-2].minor.yy178->span,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2629 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2630 #line 2633 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2631 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2632 case 205:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2633 #line 716 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2634 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2635 yygotominor.yy178 = sqlite3Expr(TK_NOTNULL, yymsp[-2].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2636 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-2].minor.yy178->span,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2637 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2638 #line 2641 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2639 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2640 case 206:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2641 #line 720 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2642 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2643 yygotominor.yy178 = sqlite3Expr(TK_NOTNULL, yymsp[-3].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2644 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-3].minor.yy178->span,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2645 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2646 #line 2649 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2647 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2648 case 207:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2649 #line 724 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2650 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2651 yygotominor.yy178 = sqlite3Expr(yymsp[-1].major, yymsp[0].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2652 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy178->span);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2653 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2654 #line 2657 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2655 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2656 case 208:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2657 #line 728 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2658 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2659 yygotominor.yy178 = sqlite3Expr(TK_UMINUS, yymsp[0].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2660 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy178->span);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2661 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2662 #line 2665 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2663 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2664 case 209:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2665 #line 732 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2666 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2667 yygotominor.yy178 = sqlite3Expr(TK_UPLUS, yymsp[0].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2668 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy178->span);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2669 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2670 #line 2673 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2671 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2672 case 212:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2673 #line 739 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2674 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2675 ExprList *pList = sqlite3ExprListAppend(0, yymsp[-2].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2676 pList = sqlite3ExprListAppend(pList, yymsp[0].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2677 yygotominor.yy178 = sqlite3Expr(TK_BETWEEN, yymsp[-4].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2678 if( yygotominor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2679 yygotominor.yy178->pList = pList;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2680 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2681 sqlite3ExprListDelete(pList);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2682 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2683 if( yymsp[-3].minor.yy230 ) yygotominor.yy178 = sqlite3Expr(TK_NOT, yygotominor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2684 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-4].minor.yy178->span,&yymsp[0].minor.yy178->span);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2685 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2686 #line 2689 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2687 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2688 case 215:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2689 #line 755 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2690 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2691 yygotominor.yy178 = sqlite3Expr(TK_IN, yymsp[-4].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2692 if( yygotominor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2693 yygotominor.yy178->pList = yymsp[-1].minor.yy462;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2694 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2695 sqlite3ExprListDelete(yymsp[-1].minor.yy462);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2696 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2697 if( yymsp[-3].minor.yy230 ) yygotominor.yy178 = sqlite3Expr(TK_NOT, yygotominor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2698 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-4].minor.yy178->span,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2699 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2700 #line 2703 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2701 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2702 case 216:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2703 #line 765 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2704 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2705 yygotominor.yy178 = sqlite3Expr(TK_SELECT, 0, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2706 if( yygotominor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2707 yygotominor.yy178->pSelect = yymsp[-1].minor.yy239;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2708 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2709 sqlite3SelectDelete(yymsp[-1].minor.yy239);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2710 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2711 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2712 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2713 #line 2716 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2714 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2715 case 217:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2716 #line 774 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2717 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2718 yygotominor.yy178 = sqlite3Expr(TK_IN, yymsp[-4].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2719 if( yygotominor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2720 yygotominor.yy178->pSelect = yymsp[-1].minor.yy239;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2721 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2722 sqlite3SelectDelete(yymsp[-1].minor.yy239);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2723 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2724 if( yymsp[-3].minor.yy230 ) yygotominor.yy178 = sqlite3Expr(TK_NOT, yygotominor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2725 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-4].minor.yy178->span,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2726 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2727 #line 2730 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2728 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2729 case 218:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2730 #line 784 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2731 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2732 SrcList *pSrc = sqlite3SrcListAppend(0,&yymsp[-1].minor.yy384,&yymsp[0].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2733 yygotominor.yy178 = sqlite3Expr(TK_IN, yymsp[-3].minor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2734 if( yygotominor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2735 yygotominor.yy178->pSelect = sqlite3SelectNew(0,pSrc,0,0,0,0,0,0,0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2736 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2737 sqlite3SrcListDelete(pSrc);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2738 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2739 if( yymsp[-2].minor.yy230 ) yygotominor.yy178 = sqlite3Expr(TK_NOT, yygotominor.yy178, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2740 sqlite3ExprSpan(yygotominor.yy178,&yymsp[-3].minor.yy178->span,yymsp[0].minor.yy384.z?&yymsp[0].minor.yy384:&yymsp[-1].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2741 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2742 #line 2745 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2743 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2744 case 219:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2745 #line 795 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2746 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2747 Expr *p = yygotominor.yy178 = sqlite3Expr(TK_EXISTS, 0, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2748 if( p ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2749 p->pSelect = yymsp[-1].minor.yy239;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2750 sqlite3ExprSpan(p,&yymsp[-3].minor.yy0,&yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2751 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2752 sqlite3SelectDelete(yymsp[-1].minor.yy239);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2753 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2754 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2755 #line 2758 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2756 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2757 case 220:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2758 #line 807 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2759 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2760 yygotominor.yy178 = sqlite3Expr(TK_CASE, yymsp[-3].minor.yy178, yymsp[-1].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2761 if( yygotominor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2762 yygotominor.yy178->pList = yymsp[-2].minor.yy462;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2763 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2764 sqlite3ExprListDelete(yymsp[-2].minor.yy462);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2765 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2766 sqlite3ExprSpan(yygotominor.yy178, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2767 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2768 #line 2771 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2769 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2770 case 221:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2771 #line 818 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2772 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2773 yygotominor.yy462 = sqlite3ExprListAppend(yymsp[-4].minor.yy462, yymsp[-2].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2774 yygotominor.yy462 = sqlite3ExprListAppend(yygotominor.yy462, yymsp[0].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2775 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2776 #line 2779 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2777 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2778 case 222:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2779 #line 822 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2780 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2781 yygotominor.yy462 = sqlite3ExprListAppend(0, yymsp[-2].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2782 yygotominor.yy462 = sqlite3ExprListAppend(yygotominor.yy462, yymsp[0].minor.yy178, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2783 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2784 #line 2787 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2785 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2786 case 231:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2787 #line 849 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2788 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2789 sqlite3CreateIndex(pParse, &yymsp[-6].minor.yy384, &yymsp[-5].minor.yy384, sqlite3SrcListAppend(0,&yymsp[-3].minor.yy384,0), yymsp[-1].minor.yy462, yymsp[-9].minor.yy230,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2790 &yymsp[-10].minor.yy0, &yymsp[0].minor.yy0, SQLITE_SO_ASC, yymsp[-7].minor.yy230);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2791 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2792 #line 2795 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2793 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2794 case 232:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2795 case 277:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2796 #line 855 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2797 {yygotominor.yy230 = OE_Abort;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2798 #line 2801 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2799 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2800 case 233:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2801 #line 856 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2802 {yygotominor.yy230 = OE_None;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2803 #line 2806 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2804 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2805 case 236:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2806 #line 866 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2807 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2808 Expr *p = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2809 if( yymsp[-1].minor.yy384.n>0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2810 p = sqlite3Expr(TK_COLUMN, 0, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2811 if( p ) p->pColl = sqlite3LocateCollSeq(pParse, (char*)yymsp[-1].minor.yy384.z, yymsp[-1].minor.yy384.n);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2812 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2813 yygotominor.yy462 = sqlite3ExprListAppend(yymsp[-4].minor.yy462, p, &yymsp[-2].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2814 if( yygotominor.yy462 ) yygotominor.yy462->a[yygotominor.yy462->nExpr-1].sortOrder = yymsp[0].minor.yy230;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2815 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2816 #line 2819 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2817 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2818 case 237:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2819 #line 875 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2820 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2821 Expr *p = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2822 if( yymsp[-1].minor.yy384.n>0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2823 p = sqlite3Expr(TK_COLUMN, 0, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2824 if( p ) p->pColl = sqlite3LocateCollSeq(pParse, (char*)yymsp[-1].minor.yy384.z, yymsp[-1].minor.yy384.n);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2825 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2826 yygotominor.yy462 = sqlite3ExprListAppend(0, p, &yymsp[-2].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2827 if( yygotominor.yy462 ) yygotominor.yy462->a[yygotominor.yy462->nExpr-1].sortOrder = yymsp[0].minor.yy230;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2828 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2829 #line 2832 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2830 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2831 case 239:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2832 #line 889 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2833 {sqlite3DropIndex(pParse, yymsp[0].minor.yy285, yymsp[-1].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2834 #line 2837 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2835 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2836 case 240:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2837 case 241:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2838 #line 893 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2839 {sqlite3Vacuum(pParse);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2840 #line 2843 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2841 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2842 case 242:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2843 case 244:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2844 #line 899 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2845 {sqlite3Pragma(pParse,&yymsp[-3].minor.yy384,&yymsp[-2].minor.yy384,&yymsp[0].minor.yy384,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2846 #line 2849 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2847 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2848 case 243:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2849 #line 900 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2850 {sqlite3Pragma(pParse,&yymsp[-3].minor.yy384,&yymsp[-2].minor.yy384,&yymsp[0].minor.yy0,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2851 #line 2854 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2852 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2853 case 245:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2854 #line 902 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2855 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2856 sqlite3Pragma(pParse,&yymsp[-3].minor.yy384,&yymsp[-2].minor.yy384,&yymsp[0].minor.yy384,1);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2857 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2858 #line 2861 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2859 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2860 case 246:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2861 #line 905 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2862 {sqlite3Pragma(pParse,&yymsp[-4].minor.yy384,&yymsp[-3].minor.yy384,&yymsp[-1].minor.yy384,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2863 #line 2866 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2864 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2865 case 247:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2866 #line 906 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2867 {sqlite3Pragma(pParse,&yymsp[-1].minor.yy384,&yymsp[0].minor.yy384,0,0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2868 #line 2871 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2869 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2870 case 253:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2871 #line 918 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2872 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2873 Token all;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2874 all.z = yymsp[-3].minor.yy384.z;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2875 all.n = (yymsp[0].minor.yy0.z - yymsp[-3].minor.yy384.z) + yymsp[0].minor.yy0.n;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2876 sqlite3FinishTrigger(pParse, yymsp[-1].minor.yy247, &all);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2877 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2878 #line 2881 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2879 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2880 case 254:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2881 #line 927 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2882 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2883 sqlite3BeginTrigger(pParse, &yymsp[-7].minor.yy384, &yymsp[-6].minor.yy384, yymsp[-5].minor.yy230, yymsp[-4].minor.yy132.a, yymsp[-4].minor.yy132.b, yymsp[-2].minor.yy285, yymsp[-1].minor.yy230, yymsp[0].minor.yy178, yymsp[-9].minor.yy230);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2884 yygotominor.yy384 = (yymsp[-6].minor.yy384.n==0?yymsp[-7].minor.yy384:yymsp[-6].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2885 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2886 #line 2889 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2887 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2888 case 255:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2889 case 258:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2890 #line 933 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2891 { yygotominor.yy230 = TK_BEFORE; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2892 #line 2895 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2893 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2894 case 256:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2895 #line 934 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2896 { yygotominor.yy230 = TK_AFTER; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2897 #line 2900 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2898 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2899 case 257:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2900 #line 935 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2901 { yygotominor.yy230 = TK_INSTEAD;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2902 #line 2905 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2903 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2904 case 259:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2905 case 260:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2906 #line 940 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2907 {yygotominor.yy132.a = yymsp[0].major; yygotominor.yy132.b = 0;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2908 #line 2911 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2909 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2910 case 261:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2911 #line 942 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2912 {yygotominor.yy132.a = TK_UPDATE; yygotominor.yy132.b = yymsp[0].minor.yy160;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2913 #line 2916 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2914 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2915 case 262:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2916 case 263:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2917 #line 945 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2918 { yygotominor.yy230 = TK_ROW; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2919 #line 2922 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2920 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2921 case 264:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2922 #line 947 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2923 { yygotominor.yy230 = TK_STATEMENT; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2924 #line 2927 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2925 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2926 case 265:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2927 #line 951 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2928 { yygotominor.yy178 = 0; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2929 #line 2932 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2930 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2931 case 266:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2932 #line 952 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2933 { yygotominor.yy178 = yymsp[0].minor.yy178; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2934 #line 2937 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2935 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2936 case 267:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2937 #line 956 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2938 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2939 if( yymsp[-2].minor.yy247 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2940 yymsp[-2].minor.yy247->pLast->pNext = yymsp[-1].minor.yy247;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2941 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2942 yymsp[-2].minor.yy247 = yymsp[-1].minor.yy247;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2943 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2944 yymsp[-2].minor.yy247->pLast = yymsp[-1].minor.yy247;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2945 yygotominor.yy247 = yymsp[-2].minor.yy247;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2946 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2947 #line 2950 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2948 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2949 case 268:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2950 #line 965 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2951 { yygotominor.yy247 = 0; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2952 #line 2955 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2953 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2954 case 269:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2955 #line 971 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2956 { yygotominor.yy247 = sqlite3TriggerUpdateStep(&yymsp[-3].minor.yy384, yymsp[-1].minor.yy462, yymsp[0].minor.yy178, yymsp[-4].minor.yy230); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2957 #line 2960 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2958 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2959 case 270:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2960 #line 976 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2961 {yygotominor.yy247 = sqlite3TriggerInsertStep(&yymsp[-5].minor.yy384, yymsp[-4].minor.yy160, yymsp[-1].minor.yy462, 0, yymsp[-7].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2962 #line 2965 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2963 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2964 case 271:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2965 #line 979 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2966 {yygotominor.yy247 = sqlite3TriggerInsertStep(&yymsp[-2].minor.yy384, yymsp[-1].minor.yy160, 0, yymsp[0].minor.yy239, yymsp[-4].minor.yy230);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2967 #line 2970 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2968 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2969 case 272:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2970 #line 983 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2971 {yygotominor.yy247 = sqlite3TriggerDeleteStep(&yymsp[-1].minor.yy384, yymsp[0].minor.yy178);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2972 #line 2975 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2973 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2974 case 273:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2975 #line 986 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2976 {yygotominor.yy247 = sqlite3TriggerSelectStep(yymsp[0].minor.yy239); }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2977 #line 2980 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2978 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2979 case 274:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2980 #line 989 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2981 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2982 yygotominor.yy178 = sqlite3Expr(TK_RAISE, 0, 0, 0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2983 if( yygotominor.yy178 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2984 yygotominor.yy178->iColumn = OE_Ignore;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2985 sqlite3ExprSpan(yygotominor.yy178, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2986 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2987 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2988 #line 2991 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2989 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2990 case 275:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2991 #line 996 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2992 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2993 yygotominor.yy178 = sqlite3Expr(TK_RAISE, 0, 0, &yymsp[-1].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2994 if( yygotominor.yy178 ) {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2995 yygotominor.yy178->iColumn = yymsp[-3].minor.yy230;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2996 sqlite3ExprSpan(yygotominor.yy178, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2997 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2998 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
2999 #line 3002 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3000 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3001 case 276:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3002 #line 1006 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3003 {yygotominor.yy230 = OE_Rollback;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3004 #line 3007 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3005 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3006 case 278:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3007 #line 1008 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3008 {yygotominor.yy230 = OE_Fail;}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3009 #line 3012 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3010 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3011 case 279:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3012 #line 1013 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3013 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3014 sqlite3DropTrigger(pParse,yymsp[0].minor.yy285);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3015 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3016 #line 3019 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3017 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3018 case 280:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3019 #line 1019 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3020 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3021 sqlite3Attach(pParse, yymsp[-3].minor.yy178, yymsp[-1].minor.yy178, yymsp[0].minor.yy292);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3022 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3023 #line 3026 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3024 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3025 case 281:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3026 #line 1024 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3027 { yygotominor.yy292 = 0; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3028 #line 3031 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3029 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3030 case 282:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3031 #line 1025 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3032 { yygotominor.yy292 = yymsp[0].minor.yy178; }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3033 #line 3036 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3034 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3035 case 285:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3036 #line 1031 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3037 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3038 sqlite3Detach(pParse, yymsp[0].minor.yy178);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3039 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3040 #line 3043 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3041 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3042 case 286:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3043 #line 1037 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3044 {sqlite3Reindex(pParse, 0, 0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3045 #line 3048 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3046 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3047 case 287:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3048 #line 1038 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3049 {sqlite3Reindex(pParse, &yymsp[-1].minor.yy384, &yymsp[0].minor.yy384);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3050 #line 3053 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3051 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3052 case 288:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3053 #line 1043 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3054 {sqlite3Analyze(pParse, 0, 0);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3055 #line 3058 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3056 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3057 case 289:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3058 #line 1044 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3059 {sqlite3Analyze(pParse, &yymsp[-1].minor.yy384, &yymsp[0].minor.yy384);}
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3060 #line 3063 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3061 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3062 case 290:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3063 #line 1049 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3064 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3065 sqlite3AlterRenameTable(pParse,yymsp[-3].minor.yy285,&yymsp[0].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3066 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3067 #line 3070 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3068 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3069 case 291:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3070 #line 1052 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3071 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3072 sqlite3AlterFinishAddColumn(pParse, &yymsp[0].minor.yy384);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3073 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3074 #line 3077 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3075 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3076 case 292:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3077 #line 1055 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3078 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3079 sqlite3AlterBeginAddColumn(pParse, yymsp[0].minor.yy285);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3080 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3081 #line 3084 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3082 break;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3083 };
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3084 yygoto = yyRuleInfo[yyruleno].lhs;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3085 yysize = yyRuleInfo[yyruleno].nrhs;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3086 yypParser->yyidx -= yysize;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3087 yyact = yy_find_reduce_action(yymsp[-yysize].stateno,yygoto);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3088 if( yyact < YYNSTATE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3089 #ifdef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3090 /* If we are not debugging and the reduce action popped at least
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3091 ** one element off the stack, then we can push the new element back
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3092 ** onto the stack here, and skip the stack overflow test in yy_shift().
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3093 ** That gives a significant speed improvement. */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3094 if( yysize ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3095 yypParser->yyidx++;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3096 yymsp -= yysize-1;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3097 yymsp->stateno = yyact;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3098 yymsp->major = yygoto;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3099 yymsp->minor = yygotominor;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3100 }else
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3101 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3102 {
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3103 yy_shift(yypParser,yyact,yygoto,&yygotominor);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3104 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3105 }else if( yyact == YYNSTATE + YYNRULE + 1 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3106 yy_accept(yypParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3107 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3108 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3109
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3110 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3111 ** The following code executes when the parse fails
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3112 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3113 static void yy_parse_failed(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3114 yyParser *yypParser /* The parser */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3115 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3116 sqlite3ParserARG_FETCH;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3117 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3118 if( yyTraceFILE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3119 fprintf(yyTraceFILE,"%sFail!\n",yyTracePrompt);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3120 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3121 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3122 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3123 /* Here code is inserted which will be executed whenever the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3124 ** parser fails */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3125 sqlite3ParserARG_STORE; /* Suppress warning about unused %extra_argument variable */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3126 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3127
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3128 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3129 ** The following code executes when a syntax error first occurs.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3130 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3131 static void yy_syntax_error(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3132 yyParser *yypParser, /* The parser */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3133 int yymajor, /* The major type of the error token */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3134 YYMINORTYPE yyminor /* The minor type of the error token */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3135 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3136 sqlite3ParserARG_FETCH;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3137 #define TOKEN (yyminor.yy0)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3138 #line 34 "parse.y"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3139
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3140 if( !pParse->parseError ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3141 if( TOKEN.z[0] ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3142 sqlite3ErrorMsg(pParse, "near \"%T\": syntax error", &TOKEN);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3143 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3144 sqlite3ErrorMsg(pParse, "incomplete SQL statement");
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3145 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3146 pParse->parseError = 1;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3147 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3148 #line 3152 "parse.c"
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3149 sqlite3ParserARG_STORE; /* Suppress warning about unused %extra_argument variable */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3150 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3151
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3152 /*
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3153 ** The following is executed when the parser accepts
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3154 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3155 static void yy_accept(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3156 yyParser *yypParser /* The parser */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3157 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3158 sqlite3ParserARG_FETCH;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3159 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3160 if( yyTraceFILE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3161 fprintf(yyTraceFILE,"%sAccept!\n",yyTracePrompt);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3162 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3163 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3164 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3165 /* Here code is inserted which will be executed whenever the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3166 ** parser accepts */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3167 sqlite3ParserARG_STORE; /* Suppress warning about unused %extra_argument variable */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3168 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3169
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3170 /* The main parser program.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3171 ** The first argument is a pointer to a structure obtained from
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3172 ** "sqlite3ParserAlloc" which describes the current state of the parser.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3173 ** The second argument is the major token number. The third is
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3174 ** the minor token. The fourth optional argument is whatever the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3175 ** user wants (and specified in the grammar) and is available for
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3176 ** use by the action routines.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3177 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3178 ** Inputs:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3179 ** <ul>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3180 ** <li> A pointer to the parser (an opaque structure.)
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3181 ** <li> The major token number.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3182 ** <li> The minor token number.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3183 ** <li> An option argument of a grammar-specified type.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3184 ** </ul>
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3185 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3186 ** Outputs:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3187 ** None.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3188 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3189 void sqlite3Parser(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3190 void *yyp, /* The parser */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3191 int yymajor, /* The major token code number */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3192 sqlite3ParserTOKENTYPE yyminor /* The value for the token */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3193 sqlite3ParserARG_PDECL /* Optional %extra_argument parameter */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3194 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3195 YYMINORTYPE yyminorunion;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3196 int yyact; /* The parser action. */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3197 int yyendofinput; /* True if we are at the end of input */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3198 int yyerrorhit = 0; /* True if yymajor has invoked an error */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3199 yyParser *yypParser; /* The parser */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3200
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3201 /* (re)initialize the parser, if necessary */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3202 yypParser = (yyParser*)yyp;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3203 if( yypParser->yyidx<0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3204 /* if( yymajor==0 ) return; // not sure why this was here... */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3205 yypParser->yyidx = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3206 yypParser->yyerrcnt = -1;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3207 yypParser->yystack[0].stateno = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3208 yypParser->yystack[0].major = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3209 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3210 yyminorunion.yy0 = yyminor;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3211 yyendofinput = (yymajor==0);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3212 sqlite3ParserARG_STORE;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3213
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3214 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3215 if( yyTraceFILE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3216 fprintf(yyTraceFILE,"%sInput %s\n",yyTracePrompt,yyTokenName[yymajor]);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3217 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3218 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3219
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3220 do{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3221 yyact = yy_find_shift_action(yypParser,yymajor);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3222 if( yyact<YYNSTATE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3223 yy_shift(yypParser,yyact,yymajor,&yyminorunion);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3224 yypParser->yyerrcnt--;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3225 if( yyendofinput && yypParser->yyidx>=0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3226 yymajor = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3227 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3228 yymajor = YYNOCODE;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3229 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3230 }else if( yyact < YYNSTATE + YYNRULE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3231 yy_reduce(yypParser,yyact-YYNSTATE);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3232 }else if( yyact == YY_ERROR_ACTION ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3233 int yymx;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3234 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3235 if( yyTraceFILE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3236 fprintf(yyTraceFILE,"%sSyntax Error!\n",yyTracePrompt);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3237 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3238 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3239 #ifdef YYERRORSYMBOL
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3240 /* A syntax error has occurred.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3241 ** The response to an error depends upon whether or not the
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3242 ** grammar defines an error token "ERROR".
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3243 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3244 ** This is what we do if the grammar does define ERROR:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3245 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3246 ** * Call the %syntax_error function.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3247 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3248 ** * Begin popping the stack until we enter a state where
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3249 ** it is legal to shift the error symbol, then shift
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3250 ** the error symbol.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3251 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3252 ** * Set the error count to three.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3253 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3254 ** * Begin accepting and shifting new tokens. No new error
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3255 ** processing will occur until three tokens have been
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3256 ** shifted successfully.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3257 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3258 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3259 if( yypParser->yyerrcnt<0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3260 yy_syntax_error(yypParser,yymajor,yyminorunion);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3261 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3262 yymx = yypParser->yystack[yypParser->yyidx].major;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3263 if( yymx==YYERRORSYMBOL || yyerrorhit ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3264 #ifndef NDEBUG
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3265 if( yyTraceFILE ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3266 fprintf(yyTraceFILE,"%sDiscard input token %s\n",
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3267 yyTracePrompt,yyTokenName[yymajor]);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3268 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3269 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3270 yy_destructor(yymajor,&yyminorunion);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3271 yymajor = YYNOCODE;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3272 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3273 while(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3274 yypParser->yyidx >= 0 &&
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3275 yymx != YYERRORSYMBOL &&
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3276 (yyact = yy_find_reduce_action(
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3277 yypParser->yystack[yypParser->yyidx].stateno,
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3278 YYERRORSYMBOL)) >= YYNSTATE
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3279 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3280 yy_pop_parser_stack(yypParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3281 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3282 if( yypParser->yyidx < 0 || yymajor==0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3283 yy_destructor(yymajor,&yyminorunion);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3284 yy_parse_failed(yypParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3285 yymajor = YYNOCODE;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3286 }else if( yymx!=YYERRORSYMBOL ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3287 YYMINORTYPE u2;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3288 u2.YYERRSYMDT = 0;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3289 yy_shift(yypParser,yyact,YYERRORSYMBOL,&u2);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3290 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3291 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3292 yypParser->yyerrcnt = 3;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3293 yyerrorhit = 1;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3294 #else /* YYERRORSYMBOL is not defined */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3295 /* This is what we do if the grammar does not define ERROR:
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3296 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3297 ** * Report an error message, and throw away the input token.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3298 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3299 ** * If the input token is $, then fail the parse.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3300 **
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3301 ** As before, subsequent error messages are suppressed until
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3302 ** three input tokens have been successfully shifted.
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3303 */
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3304 if( yypParser->yyerrcnt<=0 ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3305 yy_syntax_error(yypParser,yymajor,yyminorunion);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3306 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3307 yypParser->yyerrcnt = 3;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3308 yy_destructor(yymajor,&yyminorunion);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3309 if( yyendofinput ){
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3310 yy_parse_failed(yypParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3311 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3312 yymajor = YYNOCODE;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3313 #endif
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3314 }else{
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3315 yy_accept(yypParser);
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3316 yymajor = YYNOCODE;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3317 }
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3318 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 );
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3319 return;
b6b61becdf4e [svn] - add sqlite/ directory
nenolod
parents:
diff changeset
3320 }