We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93f0a6 commit d0ef748Copy full SHA for d0ef748
src/parser.rs
@@ -54,11 +54,12 @@ pub fn parse_boxed_expr(
54
Rule::path_id => {
55
let path_id = primary.as_str();
56
57
- let symbol_id = SymbolTable::symbol_id_from_name(st, path_id);
58
- match symbol_id {
59
- Some(id) => BoxedExpr::Sym(id, start, end),
60
- None => panic!("Referencing undefined symbol: {}", path_id),
61
- }
+ let symbol_id = st[path_id];
+ BoxedExpr::Sym(symbol_id, start, end)
+ // match symbol_id {
+ // Some(id) => BoxedExpr::Sym(id, start, end),
+ // None => panic!("Referencing undefined symbol: {}", path_id),
62
+ // }
63
}
64
65
// parse don't care
0 commit comments