Browse Source

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

git-svn-id: trunk@38567 -
Mattias Gaertner 7 năm trước cách đây
mục cha
commit
dc12234af8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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