aboutsummaryrefslogtreecommitdiff
path: root/src/z/parser/js/grammar/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/z/parser/js/grammar/root.zig')
-rw-r--r--src/z/parser/js/grammar/root.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/z/parser/js/grammar/root.zig b/src/z/parser/js/grammar/root.zig
index 56f3990..f732b7f 100644
--- a/src/z/parser/js/grammar/root.zig
+++ b/src/z/parser/js/grammar/root.zig
@@ -31,6 +31,7 @@ pub const Grammar = union(enum) {
pub const Context = struct {
template_nesting: usize = 0,
+ regex_possible: bool = true,
};
pub inline fn tokenize(comptime lexer: *Lexer) Lexer.Error!void {