summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camlp4/Camlp4Parsers/Camlp4OCamlParser.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/camlp4/Camlp4Parsers/Camlp4OCamlParser.ml b/camlp4/Camlp4Parsers/Camlp4OCamlParser.ml
index 087a464b5..36606cdd3 100644
--- a/camlp4/Camlp4Parsers/Camlp4OCamlParser.ml
+++ b/camlp4/Camlp4Parsers/Camlp4OCamlParser.ml
@@ -430,8 +430,8 @@ module Make (Syntax : Sig.Camlp4Syntax) = struct
] ]
;
package_type_cstr:
- [ [ "type"; i = a_LIDENT; "="; ty = ctyp ->
- <:with_constr< type $lid:i$ = $ty$ >>
+ [ [ "type"; i = ident; "="; ty = ctyp ->
+ <:with_constr< type $id:i$ = $ty$ >>
] ]
;
package_type_cstrs: