Commit be6eaf9a authored by osku's avatar osku

SQL parser: Modify syntax so that the only valid top-level statement is a

procedure definition, since it's the only the one that actually works.
parent e41eec23
This diff is collapsed.
......@@ -134,9 +134,11 @@ yylex(void);
/* Grammar follows */
%%
top_statement:
procedure_definition ';'
statement:
procedure_definition ';'
| stored_procedure_call
stored_procedure_call
| predefined_procedure_call ';'
| while_statement ';'
| for_statement ';'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment