AST - Refactored variable reference expressions
This commit is contained in:
parent
75387c5ac4
commit
bb2765d057
2 changed files with 12 additions and 7 deletions
src
|
@ -217,8 +217,8 @@ fn dump_expr_node(dumper: &mut Dumper, expr: &ExprNode) {
|
|||
dumper.current_line().push_str(&value.lexeme);
|
||||
}
|
||||
|
||||
ExprNode::Variable { name, id: _ } => {
|
||||
dumper.current_line().push_str(&name.lexeme);
|
||||
ExprNode::Variable(var) => {
|
||||
dumper.current_line().push_str(&var.token.lexeme);
|
||||
}
|
||||
|
||||
ExprNode::Lambda { params, body } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue