mirror of https://gitlab.com/basile.b/dexed.git
only test asm KW if tok is tkKeywd
This commit is contained in:
parent
6d7193877c
commit
dfbe175866
|
@ -814,8 +814,9 @@ begin
|
||||||
if fLineBuf[FTokStart..fTokStop-1] = fCurrIdent then
|
if fLineBuf[FTokStart..fTokStop-1] = fCurrIdent then
|
||||||
fTokKind := tkCurrI;
|
fTokKind := tkCurrI;
|
||||||
//check asm range
|
//check asm range
|
||||||
if fLineBuf[FTokStart..fTokStop-1] = 'asm' then
|
if fTokKind = tkKeywd then
|
||||||
fCurrRange.rangeKinds += [rkAsm];
|
if fLineBuf[FTokStart..fTokStop-1] = 'asm' then
|
||||||
|
fCurrRange.rangeKinds += [rkAsm];
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue