diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-21 16:40:19 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-21 16:40:19 +0000 |
| commit | 9c3e1b3c55c677206e6f70919f81484a7f0fe0c5 (patch) | |
| tree | ce63b0e071c2a7067e516de22585f3a29409ab5c /src/parser/parser.h | |
| parent | a1efe2cdde2237083ffff825f5b2dbb7442aa419 (diff) | |
Fix for #79
Diffstat (limited to 'src/parser/parser.h')
| -rw-r--r-- | src/parser/parser.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h index 5757fbc..f566979 100644 --- a/src/parser/parser.h +++ b/src/parser/parser.h @@ -263,10 +263,11 @@ struct ParserContext int extern_symbol_count; // Codegen state: - FILE *hoist_out; // For plugins to hoist code to file scope - int skip_preamble; // If 1, codegen_node(NODE_ROOT) won't emit preamble - int is_repl; // REPL mode flag - int has_async; // Track if async features are used + FILE *hoist_out; // For plugins to hoist code to file scope + int skip_preamble; // If 1, codegen_node(NODE_ROOT) won't emit preamble + int is_repl; // REPL mode flag + int has_async; // Track if async features are used + int in_defer_block; // Track if currently parsing inside a defer block }; // Token helpers |
