bugfix: fix DEFINE .. TYPE parsing in parser 2 (#3765)
This commit is contained in:
parent
e696175775
commit
5bf82abd7c
1 changed files with 2 additions and 2 deletions
|
@ -800,12 +800,12 @@ impl Parser<'_> {
|
|||
};
|
||||
loop {
|
||||
match self.peek_kind() {
|
||||
t!("FROM") => {
|
||||
t!("FROM") | t!("IN") => {
|
||||
self.pop_peek();
|
||||
let from = self.parse_tables()?;
|
||||
res.from = Some(from);
|
||||
}
|
||||
t!("TO") => {
|
||||
t!("TO") | t!("OUT") => {
|
||||
self.pop_peek();
|
||||
let to = self.parse_tables()?;
|
||||
res.to = Some(to);
|
||||
|
|
Loading…
Reference in a new issue