fix: missing return err caused overflow

This commit is contained in:
GreasySlug 2022-12-22 14:06:15 +09:00
parent 69e34bb89c
commit 4f4853244b

View file

@ -1171,6 +1171,7 @@ impl Parser {
self.level -= 1;
let err = self.skip_and_throw_syntax_err(caused_by!());
self.errs.push(err);
return Err(());
}
_ => {
if stack.len() <= 1 {