Browse Source

fcl-passrc: paswrite: allow writing "out" and "constref" modifiers

git-svn-id: trunk@36625 -
maciej-izak 8 years ago
parent
commit
184157c9d7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/fcl-passrc/src/paswrite.pp

+ 4 - 0
packages/fcl-passrc/src/paswrite.pp

@@ -303,6 +303,8 @@ begin
         case Access of
         case Access of
           argConst: wrt('const ');
           argConst: wrt('const ');
           argVar: wrt('var ');
           argVar: wrt('var ');
+          argOut: wrt('out ');
+          argConstRef: wrt('constref ');
         end;
         end;
         wrt(Name);
         wrt(Name);
         if Assigned(ArgType) then
         if Assigned(ArgType) then
@@ -369,6 +371,8 @@ begin
         case Access of
         case Access of
           argConst: wrt('const ');
           argConst: wrt('const ');
           argVar: wrt('var ');
           argVar: wrt('var ');
+          argOut: wrt('out ');
+          argConstRef: wrt('constref ');
         end;
         end;
         wrt(Name);
         wrt(Name);
         if Assigned(ArgType) then
         if Assigned(ArgType) then