|
@@ -1194,7 +1194,7 @@ begin
|
|
Result := True;
|
|
Result := True;
|
|
until False;
|
|
until False;
|
|
FSource.FBuf := p;
|
|
FSource.FBuf := p;
|
|
- until (p^ <> #0) or (not FSource.Reload);
|
|
|
|
|
|
+ until (FSource.FBuf < FSource.FBufEnd) or (not FSource.Reload);
|
|
if (not Result) and Required then
|
|
if (not Result) and Required then
|
|
FatalError('Expected whitespace');
|
|
FatalError('Expected whitespace');
|
|
end;
|
|
end;
|