Browse Source

fcl-passrc: paswrite: handled calling conventions for procedure declaration

git-svn-id: trunk@36610 -
maciej-izak 8 years ago
parent
commit
3fd4e52345
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-passrc/src/paswrite.pp

+ 2 - 2
packages/fcl-passrc/src/paswrite.pp

@@ -333,8 +333,8 @@ begin
   if AProc.IsStatic then
     wrt(' static;');
 
-
-  // !!!: Not handled: Message, calling conventions
+  if AProc.CallingConvention<>ccDefault then
+    wrt(' '+cCallingConventions[AProc.CallingConvention]+';');
 
   wrtln;
 end;