Commit 008267c
initialize Boolean values in c_typecheck_baset
c_typecheck_baset contains the method `start_typecheck_code()` which is not
called for `ansi_c`, only for `cpp`. This method initializes three Boolean
values:
```
bool break_is_allowed;
bool continue_is_allowed;
bool case_is_allowed;
```
This patch adds a call to `start_typecheck_code()` to `ansi_c`, too.
The error was observed in `ansi_c/for_scope1`.1 parent da0b0d5 commit 008267c
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments