aboutsummaryrefslogtreecommitdiff
path: root/src/cffc.hff
diff options
context:
space:
mode:
Diffstat (limited to 'src/cffc.hff')
-rw-r--r--src/cffc.hff6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cffc.hff b/src/cffc.hff
index 4563583..53b4db5 100644
--- a/src/cffc.hff
+++ b/src/cffc.hff
@@ -195,6 +195,11 @@ struct EUSwitchCase {
t [#]Stmt
}
+struct CSwitchCase {
+ test Expr,
+ t [#]Stmt,
+}
+
struct Stmt {
loc Loc,
u enum union {
@@ -215,6 +220,7 @@ struct Stmt {
Decl *Decl,
ISwitch struct { ex Expr, cs [#]ISwitchCase, f [#]Stmt },
EUSwitch struct { ex Expr, cs [#]EUSwitchCase, f [#]Stmt },
+ CSwitch struct { cs [#]CSwitchCase, f [#]Stmt }
}
}