LibJS: Rename in_async_function_context to await_expression_is_valid

Since await can be valid in module code which is not an async function
the old name is not really representative for the usage.
This commit is contained in:
davidot 2021-11-26 23:50:32 +01:00 committed by Linus Groh
commit 22174d3b7b
Notes: sideshowbarker 2024-07-17 23:18:04 +09:00
2 changed files with 16 additions and 16 deletions

View file

@ -261,7 +261,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 await_expression_is_valid { false };
bool in_arrow_function_context { false };
bool in_break_context { false };
bool in_continue_context { false };