Fix #CONSTANT
This commit is contained in:
@@ -252,7 +252,8 @@ class Lexical
|
|||||||
{
|
{
|
||||||
//ラベル(もしくは文字列)
|
//ラベル(もしくは文字列)
|
||||||
wstring iden;
|
wstring iden;
|
||||||
if (c == '@')
|
bool isLabel = c == '@';
|
||||||
|
if (isLabel)
|
||||||
iden ~= c;
|
iden ~= c;
|
||||||
i++;
|
i++;
|
||||||
for(;i < code.length;i++)
|
for(;i < code.length;i++)
|
||||||
@@ -264,7 +265,7 @@ class Lexical
|
|||||||
}
|
}
|
||||||
iden ~= c;
|
iden ~= c;
|
||||||
}
|
}
|
||||||
if (c == '@')
|
if (isLabel)
|
||||||
{
|
{
|
||||||
token = Token(TokenType.Label, Value(iden));
|
token = Token(TokenType.Label, Value(iden));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user