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;