- deleted unnecessary callback functions - on_loop_enter() & on_loop_exit()

- modified qse_awk_rtx_loop() and Awk::loop() to return the return value
- deprecated the callback totally from the Awk class: may readd it in the future.
- added POC code to pass arguments by reference for intrinsic functions. POC ok. more works needed for full support. not enabled.
This commit is contained in:
2009-07-17 02:27:53 +00:00
parent f0f2db5e8a
commit 6b31c85427
11 changed files with 181 additions and 218 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: rex.h 203 2009-06-17 12:43:50Z hyunghwan.chung $
* $Id: rex.h 236 2009-07-16 08:27:53Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -54,6 +54,7 @@
*
* @todo
* - support \\n to refer to the nth matching substring
* - change to adopt Thomson's NFA (http://swtch.com/~rsc/regexp/regexp1.html)
*/
#define QSE_REX_NA(code) (*(qse_size_t*)(code))