Explorar o código

Merged revisions 1887 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

r1887 (jonas)
* also make "out" shortstring parameters openstrings if required

git-svn-id: branches/fixes_2_0@1888 -

Jonas Maebe %!s(int64=20) %!d(string=hai) anos
pai
achega
23e44fb33d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

@@ -520,7 +520,7 @@ implementation
              else
               begin
                 { open string ? }
-                if (varspez=vs_var) and
+                if (varspez in [vs_out,vs_var]) and
                         (
                           (
                             ((token=_STRING) or (idtoken=_SHORTSTRING)) and