Parcourir la source

* also make "out" shortstring parameters openstrings if required

git-svn-id: trunk@1887 -
Jonas Maebe il y a 20 ans
Parent
commit
c9b2e34524
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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