diff options
| author | 2022-08-19 17:25:43 +0200 | |
|---|---|---|
| committer | 2022-08-19 17:25:43 +0200 | |
| commit | 1391927ab44c40d45ee7825a4ce0a5d2b8394d72 (patch) | |
| tree | b914c7be6421926bf3949a34f4426a5e72ce11e4 /src/cffc.hff | |
| parent | a9e8fe82c8c2e6bf15df0cae861d163f668e9a5a (diff) | |
some rough edges..
Diffstat (limited to 'src/cffc.hff')
| -rw-r--r-- | src/cffc.hff | 6 |
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 } } } |