Big CMakeLists update.
[supertux.git] / tools / tilemanager / Parser.cs
index daa0ade..163a75e 100644 (file)
@@ -9,14 +9,14 @@ public class Parser {
         START_LIST,
         END_LIST,
         SYMBOL,
-        INTEGER,       
+        INTEGER,
         STRING,
         REAL,
         BOOLEAN
     };
     private Lexer lexer;
     private Lexer.TokenType token;
-    
+
     public Parser(StreamReader stream) {
         lexer = new Lexer(stream);
     }
@@ -31,7 +31,7 @@ public class Parser {
             depth = 0;
             return false;
         }
-       
+
         /*
         Console.WriteLine("Token: " + token.ToString() + " - " +
                 lexer.TokenString);
@@ -83,7 +83,7 @@ public class Parser {
         get { return Int32.Parse(lexer.TokenString); }
     }
     public bool BoolValue {
-        get { return StringValue == "t" ? true : false; }
+        get { return StringValue == "t"; }
     }
     public float FloatValue {
         get { return Single.Parse(lexer.TokenString); }