fcl-passrc: parser: fixed parent of TPasArgument.Value

git-svn-id: trunk@38567 -
This commit is contained in:
Mattias Gaertner 2018-03-18 21:46:27 +00:00
parent 4972a9fbb8
commit dc12234af8

View File

@ -4349,7 +4349,7 @@ begin
ParseExc(nParserPropertyArgumentsCanNotHaveDefaultValues,
SParserPropertyArgumentsCanNotHaveDefaultValues);
NextToken;
Value := DoParseExpression(Parent,Nil);
Value := DoParseExpression(Arg,Nil);
// After this, we're on ), which must be unget.
LastHadDefaultValue:=true;
end