projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a81da92
)
Drop CR in string tokens in the Lisp parser
author
chrism
<chrism@example.org>
Tue, 26 Sep 2006 12:51:40 +0000
(12:51 +0000)
committer
chrism
<chrism@example.org>
Tue, 26 Sep 2006 12:51:40 +0000
(12:51 +0000)
SVN-Revision: 4279
src/lisp/lexer.cpp
patch
|
blob
|
history
diff --git
a/src/lisp/lexer.cpp
b/src/lisp/lexer.cpp
index
de3243e
..
9b4220b
100644
(file)
--- a/
src/lisp/lexer.cpp
+++ b/
src/lisp/lexer.cpp
@@
-109,6
+109,8
@@
Lexer::getNextToken()
nextChar();
if(*c == '"')
break;
+ else if (*c == '\r') // XXX this breaks with pure \r EOL
+ continue;
else if(*c == '\n')
linenumber++;
else if(*c == '\\') {