SynEdit: PasHighlighter, don't attempt to merge nil attrib

(cherry picked from commit f74f454aee)
This commit is contained in:
Martin 2025-03-13 11:15:33 +01:00
parent 4ed95ee337
commit ca2e64716d

View File

@ -4413,6 +4413,7 @@ begin
tkUnknown: Result := fSymbolAttri;
else
Result := nil;
exit; // can't merge
end;
if FTokenIsCaseLabel and (tid in [tkIdentifier, tkKey, tkNumber, tkString])