mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
Update parse.rs
This commit is contained in:
parent
2ec2418df9
commit
61855db0c7
1 changed files with 6 additions and 1 deletions
|
@ -471,7 +471,12 @@ impl Parser {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => switch_unreachable!(),
|
None => {
|
||||||
|
let err =
|
||||||
|
ParseError::failed_to_analyze_block(line!() as usize, Location::Unknown);
|
||||||
|
self.errs.push(err);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if block.is_empty() {
|
if block.is_empty() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue