aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/StructReturn.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/StructReturn.ml')
-rw-r--r--cparser/StructReturn.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/cparser/StructReturn.ml b/cparser/StructReturn.ml
index 57246ce1..dd985b12 100644
--- a/cparser/StructReturn.ml
+++ b/cparser/StructReturn.ml
@@ -57,6 +57,8 @@ let rec transf_expr env ctx e =
{edesc = EConst c; etyp = newty}
| ESizeof ty ->
{edesc = ESizeof (transf_type env ty); etyp = newty}
+ | EAlignof ty ->
+ {edesc = EAlignof (transf_type env ty); etyp = newty}
| EVar x ->
{edesc = EVar x; etyp = newty}
| EUnop(op, e1) ->