summaryrefslogtreecommitdiff
path: root/cparser/Cutil.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Cutil.ml')
-rw-r--r--cparser/Cutil.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/Cutil.ml b/cparser/Cutil.ml
index 1169346..9ad0b13 100644
--- a/cparser/Cutil.ml
+++ b/cparser/Cutil.ml
@@ -714,6 +714,7 @@ let rec is_lvalue e =
| EUnop((Oderef | Oarrow _), _) -> true
| EUnop(Odot _, e') -> is_lvalue e'
| EBinop(Oindex, _, _, _) -> true
+ | ECompound _ -> true
| _ -> false
(* Check that a C expression is a modifiable l-value: an l-value