Fix syntax highlight for asm block when local label name is @end.

This commit is contained in:
Margers 2025-06-30 06:18:08 +00:00 committed by Michael Van Canneyt
parent ef2c9ecc1c
commit d6384e01cb

View File

@ -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:='';