Explorar o código

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

git-svn-id: trunk@33732 -

Jonas Maebe %!s(int64=9) %!d(string=hai) anos
pai
achega
712e4f90d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/pexpr.pas

+ 1 - 1
compiler/pexpr.pas

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