Browse Source

* don't turn constref shortstring parameters into openstrings (they can't
be changed just like const parameters, so there's no use for the hidden
high parameter)

git-svn-id: trunk@21695 -

Jonas Maebe 13 years ago
parent
commit
adf66eed8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

@@ -387,7 +387,7 @@ implementation
                 if is_shortstring(hdef) then
                   begin
                     case varspez of
-                      vs_var,vs_out,vs_constref:
+                      vs_var,vs_out:
                         begin
                           { not 100% Delphi-compatible: type xstr=string[255] cannot
                             become an openstring there, while here it can }