diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2014-05-04 23:08:45 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2014-05-04 23:08:45 +0000 |
commit | b56dc4b3df8d022b54f40682a9d5d4168c690413 (patch) | |
tree | a83e174d531c9865aae84769e7bfbf0c1fa353d4 /ocamldoc/odoc_text_parser.mly | |
parent | 0f1bb864df2b92d2ffc87d62a539d6cd2f1ab403 (diff) |
PR#5584: merge open extensible types, extension-patch-4.0.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamldoc/odoc_text_parser.mly')
-rw-r--r-- | ocamldoc/odoc_text_parser.mly | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ocamldoc/odoc_text_parser.mly b/ocamldoc/odoc_text_parser.mly index c10425ccb..b4118c4f2 100644 --- a/ocamldoc/odoc_text_parser.mly +++ b/ocamldoc/odoc_text_parser.mly @@ -52,6 +52,7 @@ let print_DEBUG s = print_string s; print_newline () %token ELE_REF %token VAL_REF %token TYP_REF +%token EXT_REF %token EXC_REF %token MOD_REF %token MODT_REF @@ -113,6 +114,7 @@ ele_ref_kind: ELE_REF { None } | VAL_REF { Some RK_value } | TYP_REF { Some RK_type } +| EXT_REF { Some RK_extension } | EXC_REF { Some RK_exception } | MOD_REF { Some RK_module } | MODT_REF { Some RK_module_type } |