mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 16:20:13 +02:00
FpDebug: fix nil deref crash in pascal parser.
This commit is contained in:
parent
73bbf37840
commit
0d507a4009
@ -5016,7 +5016,7 @@ end;
|
||||
|
||||
constructor TFpPasParserValueSlicedArray.Create(ASlice: TFpPascalExpressionPartOperatorArraySliceController);
|
||||
begin
|
||||
inherited Create(nil);
|
||||
inherited Create(ASlice);
|
||||
FArraySlice := ASlice;
|
||||
FLowBoundIndex := TFpPasParserValueSlicedArrayIndex.Create('');
|
||||
FLowBoundIndex.FLowBound := SlicePart.StartValue;
|
||||
|
Loading…
Reference in New Issue
Block a user