X# bug fix

This commit is contained in:
kudzu_cp 2012-06-12 14:08:50 +00:00
parent 647be8fd25
commit d58ece88bf

View file

@ -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;