1
0

Fix #CONSTANT

This commit is contained in:
otya128
2016-12-10 17:25:41 +09:00
parent 5948104f5c
commit 8afb32dd88

View File

@@ -252,7 +252,8 @@ class Lexical
{
//ラベル(もしくは文字列)
wstring iden;
if (c == '@')
bool isLabel = c == '@';
if (isLabel)
iden ~= c;
i++;
for(;i < code.length;i++)
@@ -264,7 +265,7 @@ class Lexical
}
iden ~= c;
}
if (c == '@')
if (isLabel)
{
token = Token(TokenType.Label, Value(iden));
}