summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-13 12:58:55 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-13 12:58:55 +0000
commit8d7e628878aac07d0380463196f823502d1816ce (patch)
tree276e19725a5c89e65b6fea30b358f64644212e6a /src/parser/parser.h
parentd561a63d8b5f6beadca30ab7b7846b387d67929a (diff)
Fix for #10
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index 4aeb2c8..e3a5e6b 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -265,6 +265,7 @@ struct ParserContext
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
};
// Token helpers