Partially fixed the critical bug mentioned in the previous revision.
- runcbs->on_enter() is introduced and called when all globals variables are ready. - changed runcbs->on_start() to return an integer - run_main() is still under reconstruction. currently it only supports the BEGIN/pattern action/END block exection.
This commit is contained in:
@ -95,8 +95,6 @@ qse_pcp_t* qse_pcp_init (
|
||||
};
|
||||
int i, minidx = -1, maxidx = -1;
|
||||
|
||||
QSE_ASSERT (QSE_COUNTOF(pcp->hanlde) == QSE_COUNTOF(handle));
|
||||
|
||||
QSE_MEMSET (pcp, 0, QSE_SIZEOF(*pcp));
|
||||
pcp->mmgr = mmgr;
|
||||
|
||||
|
Reference in New Issue
Block a user