diff options
Diffstat (limited to 'src/cffc.hff')
| -rw-r--r-- | src/cffc.hff | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/cffc.hff b/src/cffc.hff index c8c90ac..131b3d9 100644 --- a/src/cffc.hff +++ b/src/cffc.hff @@ -184,6 +184,16 @@ struct ISwitchCase { t [#]Stmt } +struct EUSwitchCase { + capt *const u8, + captptr bool, + captid int, + variant int, + captty *const Type, + fld *AggField, + t [#]Stmt +} + struct Stmt { loc Loc, u enum union { @@ -202,7 +212,8 @@ struct Stmt { Return Option<Expr>, Expr Expr, Decl *Decl, - ISwitch struct { ex Expr, cs [#]ISwitchCase, f [#]Stmt } + ISwitch struct { ex Expr, cs [#]ISwitchCase, f [#]Stmt }, + EUSwitch struct { ex Expr, cs [#]EUSwitchCase, f [#]Stmt }, } } |