diff options
| author | 2022-08-13 07:11:23 +0200 | |
|---|---|---|
| committer | 2022-08-13 07:11:23 +0200 | |
| commit | 58af6dcf569c7f83b317d30f8dd85d96d314d785 (patch) | |
| tree | 76d53089d8510ab9cade4e21200b36d648c4ecb6 /bootstrap/all.h | |
| parent | d98b1ecb7a23b369e533f20386cb7aa83156d25d (diff) | |
cond switch
Diffstat (limited to 'bootstrap/all.h')
| -rw-r--r-- | bootstrap/all.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h index ceb9841..9bbab37 100644 --- a/bootstrap/all.h +++ b/bootstrap/all.h @@ -421,6 +421,7 @@ enum stmttype { Seuswitch, Sbreak, Scontinue, + Scswitch, }; struct iswitchcase { @@ -471,6 +472,13 @@ struct stmt { struct { int id; } brkcon; + struct { + slice_t(struct cswitchcase { + struct expr test; + struct blockstmt t; + }) cs; + struct blockstmt *f; + } cswitch; }; }; |