Recovered from cvs revision 2007-06-18 14:05:00
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: awk.c,v 1.9 2007/05/24 04:04:44 bacon Exp $
|
||||
* $Id: awk.c,v 1.11 2007/06/17 15:29:29 bacon Exp $
|
||||
*/
|
||||
|
||||
#include <ase/awk/awk.h>
|
||||
@ -1080,6 +1080,8 @@ static int awk_main (int argc, ase_char_t* argv[])
|
||||
ase_awk_setmaxdepth (
|
||||
awk, ASE_AWK_DEPTH_BLOCK_RUN | ASE_AWK_DEPTH_EXPR_RUN, 50);
|
||||
|
||||
/*ase_awk_setkeyword (awk, ASE_T("func"), 4, ASE_T("FX"), 2);*/
|
||||
|
||||
if (ase_awk_parse (awk, &srcios) == -1)
|
||||
{
|
||||
ase_printf (
|
||||
|
@ -1,4 +1,4 @@
|
||||
function sum(i, k, y)
|
||||
func sum(i, k, y)
|
||||
{
|
||||
y = 0;
|
||||
for (k = i; k; k = k - 1)
|
||||
|
Reference in New Issue
Block a user