diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Parser.h')
-rw-r--r-- | Userland/Libraries/LibJS/Parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Parser.h b/Userland/Libraries/LibJS/Parser.h index ba932ca374..3bcd52b626 100644 --- a/Userland/Libraries/LibJS/Parser.h +++ b/Userland/Libraries/LibJS/Parser.h @@ -31,6 +31,7 @@ struct FunctionNodeParseOptions { IsSetterFunction = 1 << 4, IsArrowFunction = 1 << 5, IsGeneratorFunction = 1 << 6, + IsAsyncFunction = 1 << 7, }; }; @@ -251,6 +252,7 @@ private: bool in_function_context { false }; bool in_formal_parameter_context { false }; bool in_generator_function_context { false }; + bool in_async_function_context { false }; bool in_arrow_function_context { false }; bool in_break_context { false }; bool in_continue_context { false }; |