Fix bug in optimizer.

This commit is contained in:
Stephen Chung
2021-01-12 23:52:50 +08:00
parent 8c47d61456
commit fe65bf6137
5 changed files with 64 additions and 21 deletions

View File

@@ -1070,6 +1070,8 @@ pub struct CustomExpr {
pub keywords: StaticVec<Expr>,
/// List of tokens actually parsed.
pub tokens: Vec<ImmutableString>,
/// Delta number of variables in the scope.
pub scope_delta: isize,
}
impl fmt::Debug for CustomExpr {