diff options
| author | Kathy Gray | 2016-05-27 10:09:49 +0100 |
|---|---|---|
| committer | Kathy Gray | 2016-05-27 10:10:09 +0100 |
| commit | 2adfd55ff481cfeee4d3063f466fcb4b38e2698c (patch) | |
| tree | 17a88e04408ef6f01ffba786eef46a096879cc9d /src/parser.mly | |
| parent | dba075ea838b6654a9ff714ca3aea6566421bbb7 (diff) | |
Fix parsing of sizeof and some printing issues with let
Diffstat (limited to 'src/parser.mly')
| -rw-r--r-- | src/parser.mly | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.mly b/src/parser.mly index 926b9515..6a94219f 100644 --- a/src/parser.mly +++ b/src/parser.mly @@ -589,7 +589,7 @@ atomic_exp: { eloc (E_list($2)) } | Switch exp Lcurly case_exps Rcurly { eloc (E_case($2,$4)) } - | Sizeof nexp_typ + | Sizeof atomic_typ { eloc (E_sizeof($2)) } | Exit atomic_exp { eloc (E_exit $2) } |
