Skip to content

Commit 403f1e4

Browse files
peterschrammelDaniel Kroening
authored and
Daniel Kroening
committed
Use ID_C
1 parent a8c640a commit 403f1e4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/ansi-c/c_typecheck_base.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ class c_typecheck_baset:
3535
namespacet(_symbol_table),
3636
symbol_table(_symbol_table),
3737
module(_module),
38-
mode("C")
38+
mode(ID_C),
39+
break_is_allowed(false),
40+
continue_is_allowed(false),
41+
case_is_allowed(false)
3942
{
4043
}
4144

@@ -48,7 +51,10 @@ class c_typecheck_baset:
4851
namespacet(_symbol_table1, _symbol_table2),
4952
symbol_table(_symbol_table1),
5053
module(_module),
51-
mode("C")
54+
mode(ID_C),
55+
break_is_allowed(false),
56+
continue_is_allowed(false),
57+
case_is_allowed(false)
5258
{
5359
}
5460

0 commit comments

Comments
 (0)