mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 18:49:14 +02:00
fcl-passrc: parser: fixed parent of TPasArgument.Value
git-svn-id: trunk@38567 -
This commit is contained in:
parent
4972a9fbb8
commit
dc12234af8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user