1
General / Re: JEDI error but unit compiles??
« Last post by bytebites on Today at 07:49:17 pm »You need to fix this piece from /components/jcf2/Parse/BuildParseTree.pas around line 1700.
Plug this code in
- procedure TBuildParseTree.RecogniseArrayConstant;
- begin
- // ArrayConstant -> '(' TypedConstant/','... ')'
- PushNode(nArrayConstant);
- Recognise([ttOpenBracket,ttOpenSquareBracket]);
- RecogniseTypedConstant;
- while (fcTokenList.FirstSolidTokenType = ttComma) do
- begin
- Recognise(ttComma);
- RecogniseTypedConstant;
- end;
- Recognise([ttCloseBracket,ttCloseSquareBracket]);
- PopNode;
- end;
Plug this code in
- if fcTokenList.FirstSolidTokenType = ttDoubleDot then
- begin
- Recognise(ttDoubleDot);
- RecogniseExpr(False);
- end;