mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 12:29:14 +02:00
Set MaxBracesArg constant value to $7FFF - 1 to fit into a 16-bit signed integer, for a 16-bit CPU
This commit is contained in:
parent
aed26f7aed
commit
ae74e9f8cd
@ -959,7 +959,11 @@ const
|
||||
RegExprLineSeparatorsSet = [$d, $a, $b, $c] {$IFDEF UnicodeRE} + [$85] {$ENDIF};
|
||||
RegExprHorzSeparatorsSet = [9, $20, $A0];
|
||||
|
||||
{$ifdef CPU16}
|
||||
MaxBracesArg = $7FFF - 1;
|
||||
{$else}
|
||||
MaxBracesArg = $7FFFFFFF - 1; // max value for {n,m} arguments
|
||||
{$endif}
|
||||
|
||||
type
|
||||
TRENextOff = PtrInt;
|
||||
|
Loading…
Reference in New Issue
Block a user