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
|
||||
fTokKind := tkCurrI;
|
||||
//check asm range
|
||||
if fLineBuf[FTokStart..fTokStop-1] = 'asm' then
|
||||
fCurrRange.rangeKinds += [rkAsm];
|
||||
if fTokKind = tkKeywd then
|
||||
if fLineBuf[FTokStart..fTokStop-1] = 'asm' then
|
||||
fCurrRange.rangeKinds += [rkAsm];
|
||||
exit;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue