aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/tok.mli
diff options
context:
space:
mode:
authorGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2016-10-02 12:02:53 +0200
committerGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2016-10-02 12:02:53 +0200
commit466b7e69e49a5f4bba36b834a2e046f120ece07c (patch)
tree10cca3b0d569527afd3741aaebe202b82cb9198e /parsing/tok.mli
parent527d3525b726f8136b64c7c1cf770c702f966cad (diff)
Move bullet detection from lexer to parser (bug #5102).
That way, bullet detection no longer depends on a global variable indicating whether a line is starting. This causes a small change in the recognized language. Before the commit, "--++" was recognized as a bullet "--" followed by a keyword "++" when at the start of a line; now it is always recognized as a keyword "--++". This also fixes a bug in Tok.to_string as a side-effect.
Diffstat (limited to 'parsing/tok.mli')
-rw-r--r--parsing/tok.mli1
1 files changed, 0 insertions, 1 deletions
diff --git a/parsing/tok.mli b/parsing/tok.mli
index b9286c53e..b1e79dc90 100644
--- a/parsing/tok.mli
+++ b/parsing/tok.mli
@@ -16,7 +16,6 @@ type t =
| INT of string
| STRING of string
| LEFTQMARK
- | BULLET of string
| EOI
val equal : t -> t -> bool