From 58af6dcf569c7f83b317d30f8dd85d96d314d785 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 13 Aug 2022 07:11:23 +0200 Subject: cond switch --- bootstrap/all.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bootstrap/all.h') 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; }; }; -- cgit v1.2.3