aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide/coq_lex.mll
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-10-22 15:59:56 +0200
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-10-22 16:00:01 +0200
commit39d9b466b1d270bf0003bffa12193423aaa31696 (patch)
tree3c3293404124f7163e18cc1402cf8b7563323755 /ide/coq_lex.mll
parentad28bacca8cf9f779db099f7c42938b96ae31f42 (diff)
Fix the way lexeme start is computed (Close 3737)
Diffstat (limited to 'ide/coq_lex.mll')
-rw-r--r--ide/coq_lex.mll1
1 files changed, 0 insertions, 1 deletions
diff --git a/ide/coq_lex.mll b/ide/coq_lex.mll
index 8b17c29df..74959c065 100644
--- a/ide/coq_lex.mll
+++ b/ide/coq_lex.mll
@@ -13,7 +13,6 @@
let utf8_lexeme_start lexbuf =
Lexing.lexeme_start lexbuf - !utf8_adjust
- + String.length (Lexing.lexeme lexbuf) - 1
}
let space = [' ' '\n' '\r' '\t' '\012'] (* '\012' is form-feed *)