Browse Source

* also make "out" shortstring parameters openstrings if required

git-svn-id: trunk@1887 -
Jonas Maebe 19 years ago
parent
commit
c9b2e34524
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

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