Refine data structures.
This commit is contained in:
@@ -119,8 +119,8 @@ impl Engine {
|
||||
},
|
||||
);
|
||||
|
||||
let scope = &Scope::new();
|
||||
let mut state = ParseState::new(self, scope, tokenizer_control);
|
||||
let scope = Scope::new();
|
||||
let mut state = ParseState::new(self, &scope, tokenizer_control);
|
||||
|
||||
let ast = self.parse_global_expr(
|
||||
&mut stream.peekable(),
|
||||
|
Reference in New Issue
Block a user