No more count-to-infinity for the coins display
[supertux.git] / src / lisp / lexer.cpp
index de3243e..9b4220b 100644 (file)
@@ -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 == '\\') {