* when restoring the state after parsing the last token of the token buffer append the message state to the pending state so that they are reapplied at the correct time

This commit is contained in:
Sven/Sarah Barth 2024-12-29 21:53:43 +01:00
parent c3a6df26ee
commit f2d41e680b

View File

@ -3772,6 +3772,10 @@ type
change_endian_for_replay:=replaystack.tokenbuf_needs_swapping;
{ restore compiler settings }
current_settings:=replaystack.settings;
if assigned(pendingstate.nextmessagerecord) then
FreeLocalVerbosity(pendingstate.nextmessagerecord);
pendingstate.nextmessagerecord:=current_settings.pmessage;
current_settings.pmessage:=nil;
popreplaystack;
{$ifdef check_inputpointer_limits}
if assigned(hidden_inputpointer) then