summaryrefslogtreecommitdiff
path: root/ocamldoc/odoc_parser.mly
diff options
context:
space:
mode:
authorDemi Marie Obenour <demiobenour@gmail.com>2022-11-18 15:42:11 -0500
committerDemi Marie Obenour <demiobenour@gmail.com>2023-02-27 14:32:13 -0500
commit514a830eae3991aec12146d3f6aeff3aa2d8406a (patch)
treec4631b1a08b77550666f4f611a38577dccf470ae /ocamldoc/odoc_parser.mly
parentf63491bb6c427ed24501ee9910e9aec1ef8c8238 (diff)
downloadocaml-514a830eae3991aec12146d3f6aeff3aa2d8406a.tar.gz
Use ocamlyacc's support for OCaml-style comments
Now that it exists, use it. Reviewd by Damien Doligez.
Diffstat (limited to 'ocamldoc/odoc_parser.mly')
-rw-r--r--ocamldoc/odoc_parser.mly2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocamldoc/odoc_parser.mly b/ocamldoc/odoc_parser.mly
index da3280bad4..a5ad13c3ec 100644
--- a/ocamldoc/odoc_parser.mly
+++ b/ocamldoc/odoc_parser.mly
@@ -1,4 +1,3 @@
-%{
(**************************************************************************)
(* *)
(* OCaml *)
@@ -14,6 +13,7 @@
(* *)
(**************************************************************************)
+%{
open Odoc_comments_global
let uppercase = "[A-Z\192-\214\216-\222]"