diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-04-23 13:22:42 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-23 22:36:07 +0200 |
commit | e62e76ca1a346d6910cda96c3b585bffae7d0958 (patch) | |
tree | a48c42cd2dbdb8000f0a558f8b68f608ca6441da /Userland/Libraries/LibSQL/Parser.h | |
parent | 27685bc7993425e2ca02cf9497b648b9d9a2a453 (diff) | |
download | serenity-e62e76ca1a346d6910cda96c3b585bffae7d0958.zip |
LibSQL: Parse terminating semi-colon in top-level statement parser
Currently, every parse_*_statement method ends by parsing a semi-colon.
This will prevent nested statements, e.g. a SELECT statement may be
nested in a CREATE TABLE statement. Move the semi-colon expectation up
and out of the individual statement parsers.
Diffstat (limited to 'Userland/Libraries/LibSQL/Parser.h')
0 files changed, 0 insertions, 0 deletions