浏览代码

* Fix writing of interface methods with calling convention

git-svn-id: trunk@37145 -
michael 8 年之前
父节点
当前提交
9ad7c50cdd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fcl-passrc/src/paswrite.pp

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

@@ -828,7 +828,7 @@ begin
   if AProc.IsOverload then
     Add(' overload;');
   if AProc.CallingConvention<>ccDefault then
-    Add(' '+cCallingConventions[AProc.CallingConvention]);
+    Add(' '+cCallingConventions[AProc.CallingConvention]+';');
   If Assigned(AProc.LibraryExpr) or Assigned(AProc.LibrarySymbolName) then
     begin
     if AProc.Parent is TPasClassType then