From d58ece88bf6ff29ecf5d501fdb53f8b8a3797ec5 Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Tue, 12 Jun 2012 14:08:50 +0000 Subject: [PATCH] X# bug fix --- source2/Compiler/Cosmos.XSharp/Parser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;