From 3f62b54817423dbb68c6adea5ae07d273224b05f Mon Sep 17 00:00:00 2001 From: juha Date: Mon, 7 Dec 2020 10:34:00 +0000 Subject: [PATCH] =?UTF-8?q?Jedi=20Code=20Format:=20Support=20assign=20:=3D?= =?UTF-8?q?=20in=20enumerations.=20Issue=20#38174,=20patch=20from=20Doming?= =?UTF-8?q?o=20Galm=C3=A9s.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: trunk@64178 - --- components/jcf2/Parse/BuildParseTree.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/jcf2/Parse/BuildParseTree.pas b/components/jcf2/Parse/BuildParseTree.pas index 04e13ea0a4..056ea20419 100644 --- a/components/jcf2/Parse/BuildParseTree.pas +++ b/components/jcf2/Parse/BuildParseTree.pas @@ -5072,9 +5072,9 @@ end; procedure TBuildParseTree.RecogniseIdentValue; begin - if fcTokenList.FirstSolidTokenType = ttEquals then + if fcTokenList.FirstSolidTokenType in [ttEquals, ttAssign] then begin - Recognise(ttEquals); + Recognise(fcTokenList.FirstSolidTokenType); RecogniseExpr(True); end; end;