summaryrefslogtreecommitdiffstats
path: root/ocamldoc/odoc_text_parser.mly
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2014-05-04 23:08:45 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2014-05-04 23:08:45 +0000
commitb56dc4b3df8d022b54f40682a9d5d4168c690413 (patch)
treea83e174d531c9865aae84769e7bfbf0c1fa353d4 /ocamldoc/odoc_text_parser.mly
parent0f1bb864df2b92d2ffc87d62a539d6cd2f1ab403 (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.mly2
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 }