From 5bf82abd7cf893143f6576b3b3aabab348cd4784 Mon Sep 17 00:00:00 2001 From: Raphael Darley Date: Tue, 26 Mar 2024 10:44:29 +0000 Subject: [PATCH] bugfix: fix DEFINE .. TYPE parsing in parser 2 (#3765) --- core/src/syn/v2/parser/stmt/define.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/syn/v2/parser/stmt/define.rs b/core/src/syn/v2/parser/stmt/define.rs index 9fffbe66..e2315318 100644 --- a/core/src/syn/v2/parser/stmt/define.rs +++ b/core/src/syn/v2/parser/stmt/define.rs @@ -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);