mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 22:41:42 +02:00
Jedi Code Format: Support assign := in enumerations. Issue #38174, patch from Domingo Galmés.
git-svn-id: trunk@64178 -
This commit is contained in:
parent
5e56724a20
commit
3f62b54817
@ -5072,9 +5072,9 @@ end;
|
|||||||
|
|
||||||
procedure TBuildParseTree.RecogniseIdentValue;
|
procedure TBuildParseTree.RecogniseIdentValue;
|
||||||
begin
|
begin
|
||||||
if fcTokenList.FirstSolidTokenType = ttEquals then
|
if fcTokenList.FirstSolidTokenType in [ttEquals, ttAssign] then
|
||||||
begin
|
begin
|
||||||
Recognise(ttEquals);
|
Recognise(fcTokenList.FirstSolidTokenType);
|
||||||
RecogniseExpr(True);
|
RecogniseExpr(True);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user