From 0f5b13d45bc5e91ae4701c0381e0b6d937f77942 Mon Sep 17 00:00:00 2001 From: nickysn Date: Sat, 21 Jun 2014 21:51:27 +0000 Subject: [PATCH] * allow setting a heap size of exactly 1024 bytes with the $M directive, since that's a valid heap size value for the -Ch command line option git-svn-id: trunk@28026 - --- compiler/scandir.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/scandir.pas b/compiler/scandir.pas index 1ac720ced8..7facdc60d2 100644 --- a/compiler/scandir.pas +++ b/compiler/scandir.pas @@ -722,7 +722,7 @@ unit scandir; current_scanner.readchar; current_scanner.skipspace; l:=current_scanner.readval; - if l>1024 then + if l>=1024 then heapsize:=l; end; end;