You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Description**
This PR refactors the code in `src/grammar/rules_actions.rs` to use `let
ast = &mut compiler_context.ast;` as it reduced some noise added by
having to use `compiler_context.ast` for every interaction with the AST
It removes some functions for `push|pop` out of the expression and term
stacks as those fields are now public to be consistent with the way we
use the other AST stacks
It also wraps the repeated code for `log_error_and_exist` into
`log_ast_error` function
0 commit comments