diff options
| author | gingerBill <bill@gingerbill.org> | 2019-12-15 11:41:21 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-12-15 11:41:21 +0000 |
| commit | 4ba579bc25ab2bbde370231d090588c237552c76 (patch) | |
| tree | f2fb2615250d719446848d98f0c0f5b55583bf28 /src/parser.hpp | |
| parent | 58d4d424c6db749c10d723844ec5a847243bee39 (diff) | |
Also allow #no_bounds_check on an expression #499
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index c8f1a683c..7101e0247 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -184,11 +184,11 @@ enum ProcCallingConvention { ProcCC_ForeignBlockDefault = -1, }; -enum StmtStateFlag { - StmtStateFlag_bounds_check = 1<<0, - StmtStateFlag_no_bounds_check = 1<<1, +enum StateFlag { + StateFlag_bounds_check = 1<<0, + StateFlag_no_bounds_check = 1<<1, - StmtStateFlag_no_deferred = 1<<5, + StateFlag_no_deferred = 1<<5, }; enum ViralStateFlag { @@ -573,7 +573,7 @@ isize const ast_variant_sizes[] = { struct Ast { AstKind kind; - u32 stmt_state_flags; + u32 state_flags; u32 viral_state_flags; bool been_handled; AstFile * file; |