Added parser message dispatch loop for debug robot to pump netlib

and complete individual parsing.
This commit is contained in:
jevering 1998-05-28 00:22:11 +00:00
parent 65af8c68d9
commit 63791bfe84

View File

@ -414,6 +414,20 @@ CopyTextContent(WindowData* wd, HWND aHWnd)
void yieldProc(const char * str)
{
// Process messages
MSG msg;
while (PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)) {
GetMessage(&msg, NULL, 0, 0);
if (!JSConsole::sAccelTable ||
!gConsole ||
!gConsole->GetMainWindow() ||
!TranslateAccelerator(gConsole->GetMainWindow(), JSConsole::sAccelTable, &msg)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
/* Pump Netlib... */
NET_PollSockets();
}
}
}
long PASCAL