aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xparsing/ast.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/ast.ml b/parsing/ast.ml
index 8bda3545ae..a438bdeb42 100755
--- a/parsing/ast.ml
+++ b/parsing/ast.ml
@@ -168,6 +168,7 @@ let check_cast loc a k =
let rec coerce_to_var v = function
| Nvar(_,id) -> id
| Node(_,"QUALID",[Nvar(_,id)]) -> id
+ | Node(_,"QUALIDARG",[Nvar(_,id)]) -> id
| ast -> user_err_loc
(loc ast,"Ast.coerce_to_var",
[< 'sTR"This expression should be a simple identifier" >])