mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-14 17:35:03 +01:00
fix very funny parser bug
This commit is contained in:
parent
cbc60bf472
commit
39079710c0
1 changed files with 1 additions and 0 deletions
|
|
@ -609,6 +609,7 @@ where
|
|||
let mut elements = Vec::new_in(self.bump);
|
||||
|
||||
if self.peek_kind() == Some(&close) {
|
||||
exit_parse!(self);
|
||||
return Ok(elements.into_bump_slice());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue