mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 22:09:18 +02:00
Fix syntax highlight for asm block when local label name is @end.
This commit is contained in:
parent
ef2c9ecc1c
commit
d6384e01cb
@ -2643,7 +2643,9 @@ var
|
||||
Dec(ClassStart,length(MatchingSymbol)-1);
|
||||
end
|
||||
else if (InComment=false) and (InString=true) and IsStringSuffix then
|
||||
InString:=false;
|
||||
InString:=false
|
||||
else if (InAsm) and (C='@') then
|
||||
CC:=ccAlpha; { local labels in asm block will be normal words }
|
||||
end;
|
||||
if MatchedSymbol and (InComment=false) then
|
||||
SymbolConcat:='';
|
||||
|
Loading…
Reference in New Issue
Block a user