Explorar o código

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

git-svn-id: trunk@38567 -
Mattias Gaertner %!s(int64=7) %!d(string=hai) anos
pai
achega
dc12234af8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/fcl-passrc/src/pparser.pp

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

@@ -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