aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h8
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;
};
};