aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 03a37739e..47e860845 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -95,6 +95,7 @@ struct AstFile {
// < 0: In Control Clause
// NOTE(bill): Used to prevent type literals in control clauses
isize expr_level;
+ bool allow_newline; // Only valid for expr_level == 0
bool allow_range; // NOTE(bill): Ranges are only allowed in certain cases
bool allow_in_expr; // NOTE(bill): in expression are only allowed in certain cases
bool in_foreign_block;