[td-2570] update the script and the corresponding tokenizer

This commit is contained in:
Haojun Liao 2021-05-20 10:34:09 +08:00
parent 3c0617bc59
commit ff3a4c64a3
4 changed files with 1252 additions and 1233 deletions

View File

@ -136,7 +136,7 @@
#define TK_VARIABLE 117
#define TK_INTERVAL 118
#define TK_SESSION 119
#define TK_WINDOW_STATE 120
#define TK_STATE_WINDOW 120
#define TK_FILL 121
#define TK_SLIDING 122
#define TK_ORDER 123

View File

@ -554,7 +554,7 @@ session_option(X) ::= SESSION LP ids(V) cpxName(Z) COMMA tmvar(Y) RP. {
}
%type windowstate_option {SWindowStateVal}
windowstate_option(X) ::= . {X.col.n = 0;}
windowstate_option(X) ::= WINDOW_STATE LP ids(V) RP. {
windowstate_option(X) ::= STATE_WINDOW LP ids(V) RP. {
X.col = V;
}

View File

@ -141,7 +141,7 @@ static SKeyword keywordTable[] = {
{"VARIABLE", TK_VARIABLE},
{"INTERVAL", TK_INTERVAL},
{"SESSION", TK_SESSION},
{"WINDOW_STATE", TK_WINDOW_STATE},
{"STATE_WINDOW", TK_STATE_WINDOW},
{"FILL", TK_FILL},
{"SLIDING", TK_SLIDING},
{"ORDER", TK_ORDER},

File diff suppressed because it is too large Load Diff