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:
@ -96,9 +96,15 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
qse_char_t* qse_awk_format (
|
||||
qse_awk_run_t* run, qse_str_t* out, qse_str_t* fbu,
|
||||
const qse_char_t* fmt, qse_size_t fmt_len,
|
||||
qse_size_t nargs_on_stack, qse_awk_nde_t* args, qse_size_t* len);
|
||||
qse_awk_run_t* run,
|
||||
qse_str_t* out,
|
||||
qse_str_t* fbu,
|
||||
const qse_char_t* fmt,
|
||||
qse_size_t fmt_len,
|
||||
qse_size_t nargs_on_stack,
|
||||
qse_awk_nde_t* args,
|
||||
qse_size_t* len
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user