From 2adfd55ff481cfeee4d3063f466fcb4b38e2698c Mon Sep 17 00:00:00 2001 From: Kathy Gray Date: Fri, 27 May 2016 10:09:49 +0100 Subject: Fix parsing of sizeof and some printing issues with let --- src/parser.mly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.mly') 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) } -- cgit v1.2.3