Browse Source

- removed (unnecessary) use of ctemprefnode.create_offset() while parsing
array constructors

git-svn-id: trunk@33732 -

Jonas Maebe 9 years ago
parent
commit
712e4f90d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pexpr.pas

+ 1 - 1
compiler/pexpr.pas

@@ -1838,7 +1838,7 @@ implementation
 
 
           { one dimensional }
           { one dimensional }
           addstatement(newstatement,cassignmentnode.create(
           addstatement(newstatement,cassignmentnode.create(
-              ctemprefnode.create_offset(temp2,0),
+              ctemprefnode.create(temp2),
               cordconstnode.create
               cordconstnode.create
                  (paracount,s32inttype,true)));
                  (paracount,s32inttype,true)));
           { create call to fpc_dynarr_setlength }
           { create call to fpc_dynarr_setlength }