diff --git a/source2/Compiler/Cosmos.XSharp/Parser.cs b/source2/Compiler/Cosmos.XSharp/Parser.cs index 1e4cf9bc9..218e41835 100644 --- a/source2/Compiler/Cosmos.XSharp/Parser.cs +++ b/source2/Compiler/Cosmos.XSharp/Parser.cs @@ -46,7 +46,7 @@ namespace Cosmos.Compiler.XSharp { mStart = rPos; return; } - } if (xString == "++") { + } else if (xString == "++") { xToken.Type = TokenType.Inc; } else if (xString == "--") { xToken.Type = TokenType.Dec;