فهرست منبع

* Don't use hardcoded value for maxoutputlists

git-svn-id: trunk@17734 -
sergei 14 سال پیش
والد
کامیت
3eaf8df446
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      compiler/assemble.pas

+ 1 - 1
compiler/assemble.pas

@@ -37,7 +37,7 @@ interface
 
 
     const
     const
        { maximum of aasmoutput lists there will be }
        { maximum of aasmoutput lists there will be }
-       maxoutputlists = 20;
+       maxoutputlists = ord(high(tasmlisttype))+1;
        { buffer size for writing the .s file }
        { buffer size for writing the .s file }
        AsmOutSize=32768*4;
        AsmOutSize=32768*4;