pcomp: Increase heap and stack sizes
This commit is contained in:
parent
347b57cae3
commit
74a467cba6
2 changed files with 6 additions and 1 deletions
|
|
@ -480,6 +480,9 @@ end;
|
||||||
That means you cannot use pos to search inside a string
|
That means you cannot use pos to search inside a string
|
||||||
literal. Hopefully this is not something you want to do.
|
literal. Hopefully this is not something you want to do.
|
||||||
*)
|
*)
|
||||||
|
|
||||||
|
(* TODO: UCSD-Pascal and TP3.0 specs say, searched string
|
||||||
|
is a string expression so cannot be var parameter *)
|
||||||
function pos(substr:string;var s:string):integer;
|
function pos(substr:string;var s:string):integer;
|
||||||
var substrlen:integer;
|
var substrlen:integer;
|
||||||
slen:integer;
|
slen:integer;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
(* Copyright 2021-2024 Sebastian Lederer. See the file LICENSE.md for details *)
|
(* Copyright 2021-2024 Sebastian Lederer. See the file LICENSE.md for details *)
|
||||||
|
{$H384}
|
||||||
|
{$S64}
|
||||||
program PascalCompiler;
|
program PascalCompiler;
|
||||||
{$R+}
|
{$R+}
|
||||||
{$!}{$ifdef FPC}uses math,crt;{$endif}
|
{$!}{$ifdef FPC}uses math,crt;{$endif}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue