From 3eaf8df446d331469e6d3c19a29c340348a062e8 Mon Sep 17 00:00:00 2001 From: sergei Date: Mon, 13 Jun 2011 07:11:56 +0000 Subject: [PATCH] * Don't use hardcoded value for maxoutputlists git-svn-id: trunk@17734 - --- compiler/assemble.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/assemble.pas b/compiler/assemble.pas index a73af81b87..c2ae00602c 100644 --- a/compiler/assemble.pas +++ b/compiler/assemble.pas @@ -37,7 +37,7 @@ interface const { maximum of aasmoutput lists there will be } - maxoutputlists = 20; + maxoutputlists = ord(high(tasmlisttype))+1; { buffer size for writing the .s file } AsmOutSize=32768*4;