提交 ff3a4c64 编写于 作者: H Haojun Liao

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

上级 3c0617bc
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
#define TK_VARIABLE 117 #define TK_VARIABLE 117
#define TK_INTERVAL 118 #define TK_INTERVAL 118
#define TK_SESSION 119 #define TK_SESSION 119
#define TK_WINDOW_STATE 120 #define TK_STATE_WINDOW 120
#define TK_FILL 121 #define TK_FILL 121
#define TK_SLIDING 122 #define TK_SLIDING 122
#define TK_ORDER 123 #define TK_ORDER 123
......
...@@ -554,7 +554,7 @@ session_option(X) ::= SESSION LP ids(V) cpxName(Z) COMMA tmvar(Y) RP. { ...@@ -554,7 +554,7 @@ session_option(X) ::= SESSION LP ids(V) cpxName(Z) COMMA tmvar(Y) RP. {
} }
%type windowstate_option {SWindowStateVal} %type windowstate_option {SWindowStateVal}
windowstate_option(X) ::= . {X.col.n = 0;} 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; X.col = V;
} }
......
...@@ -141,7 +141,7 @@ static SKeyword keywordTable[] = { ...@@ -141,7 +141,7 @@ static SKeyword keywordTable[] = {
{"VARIABLE", TK_VARIABLE}, {"VARIABLE", TK_VARIABLE},
{"INTERVAL", TK_INTERVAL}, {"INTERVAL", TK_INTERVAL},
{"SESSION", TK_SESSION}, {"SESSION", TK_SESSION},
{"WINDOW_STATE", TK_WINDOW_STATE}, {"STATE_WINDOW", TK_STATE_WINDOW},
{"FILL", TK_FILL}, {"FILL", TK_FILL},
{"SLIDING", TK_SLIDING}, {"SLIDING", TK_SLIDING},
{"ORDER", TK_ORDER}, {"ORDER", TK_ORDER},
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册