Reduce size of ParseState.
This commit is contained in:
@@ -63,7 +63,7 @@ impl Engine {
|
||||
let (stream, tokenizer_control) =
|
||||
self.lex_raw(&scripts, self.token_mapper.as_ref().map(<_>::as_ref));
|
||||
|
||||
let mut state = ParseState::new(self, scope, interned_strings, tokenizer_control);
|
||||
let mut state = ParseState::new(scope, interned_strings, tokenizer_control);
|
||||
|
||||
self.parse(&mut stream.peekable(), &mut state, self.optimization_level)?
|
||||
};
|
||||
|
Reference in New Issue
Block a user