update parser build

This commit is contained in:
Pedro 2017-03-08 20:36:06 +01:00
parent ad7a8c60dd
commit 137f273410
4 changed files with 2436 additions and 2131 deletions

File diff suppressed because it is too large Load Diff

View File

@ -153,54 +153,59 @@ extern int hsql_debug;
SQL_USING = 330, SQL_USING = 330,
SQL_WHERE = 331, SQL_WHERE = 331,
SQL_CALL = 332, SQL_CALL = 332,
SQL_DATE = 333, SQL_CASE = 333,
SQL_DESC = 334, SQL_DATE = 334,
SQL_DROP = 335, SQL_DESC = 335,
SQL_FILE = 336, SQL_DROP = 336,
SQL_FROM = 337, SQL_ELSE = 337,
SQL_FULL = 338, SQL_FILE = 338,
SQL_HASH = 339, SQL_FROM = 339,
SQL_HINT = 340, SQL_FULL = 340,
SQL_INTO = 341, SQL_HASH = 341,
SQL_JOIN = 342, SQL_HINT = 342,
SQL_LEFT = 343, SQL_INTO = 343,
SQL_LIKE = 344, SQL_JOIN = 344,
SQL_LOAD = 345, SQL_LEFT = 345,
SQL_NULL = 346, SQL_LIKE = 346,
SQL_PART = 347, SQL_LOAD = 347,
SQL_PLAN = 348, SQL_NULL = 348,
SQL_SHOW = 349, SQL_PART = 349,
SQL_TEXT = 350, SQL_PLAN = 350,
SQL_TIME = 351, SQL_SHOW = 351,
SQL_VIEW = 352, SQL_TEXT = 352,
SQL_WITH = 353, SQL_THEN = 353,
SQL_ADD = 354, SQL_TIME = 354,
SQL_ALL = 355, SQL_VIEW = 355,
SQL_AND = 356, SQL_WHEN = 356,
SQL_ASC = 357, SQL_WITH = 357,
SQL_CSV = 358, SQL_ADD = 358,
SQL_FOR = 359, SQL_ALL = 359,
SQL_INT = 360, SQL_AND = 360,
SQL_KEY = 361, SQL_ASC = 361,
SQL_NOT = 362, SQL_CSV = 362,
SQL_OFF = 363, SQL_END = 363,
SQL_SET = 364, SQL_FOR = 364,
SQL_TBL = 365, SQL_INT = 365,
SQL_TOP = 366, SQL_KEY = 366,
SQL_AS = 367, SQL_NOT = 367,
SQL_BY = 368, SQL_OFF = 368,
SQL_IF = 369, SQL_SET = 369,
SQL_IN = 370, SQL_TBL = 370,
SQL_IS = 371, SQL_TOP = 371,
SQL_OF = 372, SQL_AS = 372,
SQL_ON = 373, SQL_BY = 373,
SQL_OR = 374, SQL_IF = 374,
SQL_TO = 375, SQL_IN = 375,
SQL_EQUALS = 376, SQL_IS = 376,
SQL_LESS = 377, SQL_OF = 377,
SQL_GREATER = 378, SQL_ON = 378,
SQL_NOTNULL = 379, SQL_OR = 379,
SQL_UMINUS = 380 SQL_TO = 380,
SQL_EQUALS = 381,
SQL_LESS = 382,
SQL_GREATER = 383,
SQL_NOTNULL = 384,
SQL_UMINUS = 385
}; };
#endif #endif
@ -244,8 +249,9 @@ union HSQL_STYPE
std::vector<hsql::ColumnDefinition*>* column_vec; std::vector<hsql::ColumnDefinition*>* column_vec;
std::vector<hsql::UpdateClause*>* update_vec; std::vector<hsql::UpdateClause*>* update_vec;
std::vector<hsql::Expr*>* expr_vec; std::vector<hsql::Expr*>* expr_vec;
std::vector<hsql::OrderDescription*>* order_vec;
#line 249 "bison_parser.h" /* yacc.c:1909 */ #line 255 "bison_parser.h" /* yacc.c:1909 */
}; };
typedef union HSQL_STYPE HSQL_STYPE; typedef union HSQL_STYPE HSQL_STYPE;

File diff suppressed because it is too large Load Diff

View File

@ -352,7 +352,7 @@ extern int hsql_lex \
#undef YY_DECL #undef YY_DECL
#endif #endif
#line 215 "flex_lexer.l" #line 213 "flex_lexer.l"
#line 359 "flex_lexer.h" #line 359 "flex_lexer.h"