aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide/coq_lex.mll
diff options
context:
space:
mode:
authorGravatar vgross <vgross@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-06-22 14:47:37 +0000
committerGravatar vgross <vgross@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-06-22 14:47:37 +0000
commit1643d1ffa2964b66b9e82a41b1c19b76d3123003 (patch)
tree3d6cf03f733fe961fbe0110c9df633261f0e9a31 /ide/coq_lex.mll
parentd6c87f235a98c05a26b4a0e87129335d034219af (diff)
fix bug #2318, parsing error on dos line endings
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13177 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide/coq_lex.mll')
-rw-r--r--ide/coq_lex.mll2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide/coq_lex.mll b/ide/coq_lex.mll
index ea981d7b7..01c3025e6 100644
--- a/ide/coq_lex.mll
+++ b/ide/coq_lex.mll
@@ -81,7 +81,7 @@ let identchar =
['$' 'A'-'Z' 'a'-'z' '_' '\192'-'\214' '\216'-'\246' '\248'-'\255' '\'' '0'-'9']
let ident = firstchar identchar*
-let sentence_sep = '.' [ ' ' '\n' '\t' ]
+let sentence_sep = '.' [ ' ' '\r' '\n' '\t' ]
let multiword_declaration =
"Module" (space+ "Type")?