Commit Graph

2443 Commits

Author SHA1 Message Date
9eb2c2da4c fixed bugs in handling @include 2009-08-10 21:29:59 +00:00
8059913da3 interim commit 2009-08-08 07:35:24 +00:00
3fc663609e enhanced the awk parser 2009-08-07 02:27:14 +00:00
ff92573543 improved @include handling 2009-08-01 07:01:04 +00:00
0da1c65cf5 implemented @include partially 2009-07-27 20:31:58 +00:00
90955d1b0a interim commit 2009-07-25 23:18:42 +00:00
1e7f2551e5 touched up code a little 2009-07-25 06:22:00 +00:00
4496e29945 cleaned up code a little 2009-07-24 22:11:07 +00:00
9fabea2cd2 enhanced pio for WIN32 2009-07-24 07:01:52 +00:00
704e1c2ac7 added some lines of code into pio.c for win32 2009-07-23 06:47:13 +00:00
4bb3fe77eb added partial code to support 'include' 2009-07-20 07:02:33 +00:00
35e65743ab cleaned up code 2009-07-19 06:02:24 +00:00
07af9f53fb merged a few awk options into one 2009-07-18 06:42:02 +00:00
602a14a54e added QSE_AWK_STRIPSTRSPC 2009-07-17 06:43:47 +00:00
6b31c85427 - 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.
2009-07-17 02:27:53 +00:00
f0f2db5e8a cleaned up code 2009-07-16 04:43:31 +00:00
e149b933f7 cleaned up code a little 2009-07-15 08:08:48 +00:00
782f17c7e1 fixed regress/awk/Makefile.am 2009-07-15 02:08:00 +00:00
f5e3e53290 - added Awk::setGlobal & Awk::getGlobal
- fixed a bug in parsing getline
2009-07-15 02:06:14 +00:00
af6831ed3c changed Awk::parse() to accept a reference type instead of a pointer type 2009-07-14 04:03:53 +00:00
9b6eb94664 -added Awk::Value::getFirstIndex() & Awk::Value::getNextIndex()
-fixed a few bugs in the Awk::Value class
2009-07-14 02:51:23 +00:00
814ed89e53 enhanced Awk::Awk to utilize Awk::Value 2009-07-13 07:06:01 +00:00
356e4c0792 cleaned up run_delete() in awk/run.c
improved Awk::Value
2009-07-11 21:01:36 +00:00
9f382bb951 adding Awk::Value 2009-07-11 08:05:51 +00:00
852a51ae75 changed Source IO model in Awk 2009-07-10 06:46:14 +00:00
1d88a17c7c enhanced Awk classes 2009-07-09 07:01:45 +00:00
b682392d5f - fixed a bug of not handling nextfile and nextofile when no files are specified in the standard console handler
(awk/std.c)
- enhanced the console handler for StdAwk
2009-07-08 07:05:10 +00:00
8a61d58b7b cleaned up Awk.cpp 2009-07-07 06:37:25 +00:00
65a69c5522 updated files for tagging 0.5.1 2009-07-02 19:26:57 +00:00
d725c01bac touched up code a little 2009-07-02 07:14:39 +00:00
dd36ca0725 changed regression test scripts 2009-07-01 07:14:39 +00:00
e78de0f959 restructured regression test scripts for awk 2009-06-30 04:17:39 +00:00
14b0bca55c improved the naming rule 2009-06-29 07:41:47 +00:00
3c63104bf7 fixed a bug of not checking a function name against named variables 2009-06-28 06:42:53 +00:00
b9d3b490a2 fixed a bug of not checking a parameter name against the function name 2009-06-27 23:52:54 +00:00
c31adc3f7c fixed bugs of not handling <NL> properly in local/global variable declarations. 2009-06-27 20:50:54 +00:00
e337e01d46 fixed a few minor bugs 2009-06-27 07:05:19 +00:00
06d3d78abf cleaned up code and enhanced documentation 2009-06-26 01:39:27 +00:00
1c56d6e347 cleaned up code and documentation 2009-06-25 03:50:10 +00:00
393dd9be8d improved the standard console handler to handle when ARGV has been overridden in a script 2009-06-25 02:29:33 +00:00
4b139e0472 cleaned up code 2009-06-24 07:29:18 +00:00
92b9bfb6d1 changed qse_assert_filed() to dump backtraces 2009-06-23 22:53:22 +00:00
97a7febc78 fixed a bug in closing a qse_awk_rtx_t object
- refdown_globals() should have been called after qse_awk_rtx_clrrec()
  as it still access NF.
fixed typo in awk error messages
fixed a memory allocation bug in matching a group (match_group) 
uncommented binary number parsing code in the awk parser.
2009-06-23 07:01:28 +00:00
385e1acc26 fixed a minor problem of returning a long option string with a leading colon in qse_getopt().
enhanced cmd/awk/awk.c
cleaned up code a little
2009-06-22 07:33:05 +00:00
e66a372119 added -v var=val to cmd/awk/awk.c 2009-06-21 06:47:34 +00:00
cf606b6819 fixed a bug in matching zero occurrence in a group 2009-06-19 06:08:06 +00:00
944a492c88 fixed bugs in rex and awk
- fixed bugs of not parsing some forms of ranges such as {,m} {n,} properly
- fixed bugs in substitution functions that did not handle 0-length substring match properly.
2009-06-18 06:43:50 +00:00
e774c0bbd1 improved numeric string comparison for various contexts. 2009-06-17 00:05:40 +00:00
ed6db12e27 changed code to handle numeric string comparison better 2009-06-16 02:22:48 +00:00
193afb0567 added partial code to handle a numeric string better 2009-06-15 07:22:00 +00:00