mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:59:17 +02:00
SynEdit: PasHighlighter, don't attempt to merge nil attrib
(cherry picked from commit f74f454aee
)
This commit is contained in:
parent
4ed95ee337
commit
ca2e64716d
@ -4413,6 +4413,7 @@ begin
|
|||||||
tkUnknown: Result := fSymbolAttri;
|
tkUnknown: Result := fSymbolAttri;
|
||||||
else
|
else
|
||||||
Result := nil;
|
Result := nil;
|
||||||
|
exit; // can't merge
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if FTokenIsCaseLabel and (tid in [tkIdentifier, tkKey, tkNumber, tkString])
|
if FTokenIsCaseLabel and (tid in [tkIdentifier, tkKey, tkNumber, tkString])
|
||||||
|
Loading…
Reference in New Issue
Block a user