Skip to content

Commit ac16ee4

Browse files
committed
replace unwraps in parser with error handling
Signed-off-by: squeakbug <[email protected]>
1 parent 7b8d06d commit ac16ee4

File tree

4 files changed

+288
-185
lines changed

4 files changed

+288
-185
lines changed

crates/core/src/ast.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ pub enum UnlabeledStmt {
111111
},
112112
Break,
113113
Continue,
114+
Empty,
114115
}
115116

116117
#[derive(Debug, Clone)]

0 commit comments

Comments
 (0)