LibJS: Add missing initializer for ParserState::m_current_scope_pusher

This commit is contained in:
Andreas Kling 2021-10-08 01:55:24 +02:00
parent b00b461b31
commit 7de2a84cd4
Notes: sideshowbarker 2024-07-18 02:56:01 +09:00

View file

@ -239,7 +239,7 @@ private:
Lexer lexer;
Token current_token;
Vector<Error> errors;
ScopePusher* current_scope_pusher;
ScopePusher* current_scope_pusher { nullptr };
HashMap<StringView, Optional<Position>> labels_in_scope;
bool strict_mode { false };