Browse Source

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

git-svn-id: trunk@38567 -
Mattias Gaertner 7 years ago
parent
commit
dc12234af8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-passrc/src/pparser.pp

+ 1 - 1
packages/fcl-passrc/src/pparser.pp

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