aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parsing/g_prim.ml43
1 files changed, 1 insertions, 2 deletions
diff --git a/parsing/g_prim.ml4 b/parsing/g_prim.ml4
index 7955660650..168b5bc9fc 100644
--- a/parsing/g_prim.ml4
+++ b/parsing/g_prim.ml4
@@ -35,8 +35,7 @@ GEXTEND Gram
astpath:
[ [ id = IDENT; (l,a) = astfields ->
Path(loc, make_path (make_dirpath (id_of_string id :: l)) a CCI)
- | id = IDENT ->
- Path(loc, make_path (make_dirpath []) (id_of_string id) Names.CCI)
+ | id = IDENT -> Nvar(loc, id_of_string id)
] ]
;
astfields: