aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/tok.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-03-06 15:10:27 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-03-06 15:42:27 +0100
commitd3653c6da5770dfc4d439639b49193e30172763a (patch)
treeb2f1e14b4406f11f595f1821353e77f167ff5336 /parsing/tok.mli
parentb18bc8d5fe64d395197b172b5574f03d50d8157d (diff)
Fixing bug #4610: Fails to build with camlp4 since the TACTIC EXTEND move.
We just reuse the same one weird old trick in CAMLP4 to compare keywords and identifiers as tokens. Note though that the commit 982460743 does not fix the keyword vs. identifier issue in CAMLP4, so that the corresponding test fails. This means that since that commit, some code compiling with CAMLP5 does not when using CAMLP4, making it a second-class citizen.
Diffstat (limited to 'parsing/tok.mli')
-rw-r--r--parsing/tok.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/tok.mli b/parsing/tok.mli
index 416ce468e..54b747952 100644
--- a/parsing/tok.mli
+++ b/parsing/tok.mli
@@ -20,6 +20,7 @@ type t =
| BULLET of string
| EOI
+val equal : t -> t -> bool
val extract_string : t -> string
val to_string : t -> string
(* Needed to fit Camlp4 signature *)