Removed trailing whitespaces in tilemanager source files (yes I know that code needs...
[supertux.git] / tools / tilemanager / Lexer.cs
index 28df77a..bbbd397 100644 (file)
@@ -13,7 +13,7 @@ public class Lexer {
 
     public class EOFException : Exception {
     };
-        
+
     public enum TokenType {
         EOF,
         OPEN_PAREN,
@@ -99,7 +99,7 @@ public class Lexer {
                     if(TokenString == "f")
                         return TokenType.FALSE;
 
-                    throw new Exception("Unknown constant '" 
+                    throw new Exception("Unknown constant '"
                             + TokenString + "'");
                 default:
                     if(Char.IsDigit(c) || c == '-') {
@@ -119,7 +119,7 @@ public class Lexer {
                             NextChar();
                         } while(!Char.IsWhiteSpace(c) && c != '\"' && c != '('
                                 && c != ')' && c != ';');
-                        
+
                         if(have_nondigits || !have_digits
                                 || have_floating_point > 1)
                             return TokenType.SYMBOL;
@@ -133,7 +133,7 @@ public class Lexer {
                             NextChar();
                         } while(!Char.IsWhiteSpace(c) && c != '\"' && c != '('
                                 && c != ')' && c != ';');
-                        
+
                         return TokenType.SYMBOL;
                     }
             }