summaryrefslogtreecommitdiff
path: root/ocamldoc/odoc_parser.mly
diff options
context:
space:
mode:
authorAntonin Décimo <antonin@tarides.com>2023-03-31 14:24:12 +0100
committerAntonin Décimo <antonin@tarides.com>2023-03-31 14:24:12 +0100
commitba6d2ebef436347b11470bdf4b85aea6bbff44a0 (patch)
tree58cf69035ed46b54963b17f65d46b8475bae904b /ocamldoc/odoc_parser.mly
parentbe27ba829f5eafb6abf9e5d91a78ea5403d52782 (diff)
downloadocaml-ba6d2ebef436347b11470bdf4b85aea6bbff44a0.tar.gz
Revert "Use ocamlyacc's support for OCaml-style comments"
This reverts commit 514a830eae3991aec12146d3f6aeff3aa2d8406a. > The dune build system for the OCaml compiler is morally a hack, it > uses the tools from the ambient opam switch to build the compiler > codebase -- which can break whenever the compiler distribution has > more recent tools than the opam switch, and uses the more recent > features in its own codebase. > This is what is going on here: @DemiMarie introduced a new ocamlyacc > feature, and also started using it in the compiler codebase in the > non-essential commit 514a830. If we want dune to work well, a > reasonable solution is to revert 514a830 for now, and wait until the > next OCaml version is released (with the new ocamlyacc feature) to > merge it again. At this point the dune build will be possible with > the most recent OCaml release as your opam switch. from Gabriel Scherer, https://github.com/ocaml/ocaml/pull/11718#issuecomment-1475338016
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 a5ad13c3ec..da3280bad4 100644
--- a/ocamldoc/odoc_parser.mly
+++ b/ocamldoc/odoc_parser.mly
@@ -1,3 +1,4 @@
+%{
(**************************************************************************)
(* *)
(* OCaml *)
@@ -13,7 +14,6 @@
(* *)
(**************************************************************************)
-%{
open Odoc_comments_global
let uppercase = "[A-Z\192-\214\216-\222]"