Skip to content

Commit

Permalink
Merge pull request #33 from ocsigen/camlp4
Browse files Browse the repository at this point in the history
Fix wrt latest camlp4 4.02
  • Loading branch information
hnrgrgr committed Sep 30, 2014
2 parents e13605f + 91d684b commit 9f6a011
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syntax/common/utils.ml
Expand Up @@ -148,6 +148,8 @@ struct
#endif
#if ocaml_version >= (4, 02)
| TyAtt (_,name,_,c) -> "TyAtt("^ name ^", "^ ctyp c ^")"
| TyExt (_,name,args,c) -> "TyExt("^ ident name ^", ["^ (String.concat ", " (List.map ctyp args)) ^ "], " ^ ctyp c ^")"
| TyOpn _ -> "TyOpn"
#endif
end

Expand Down

0 comments on commit 9f6a011

Please sign in to comment.