This commit is contained in:
2007-12-07 20:48:09 +00:00
parent 240f95de4a
commit da5982c8d3
3 changed files with 46 additions and 13 deletions

View File

@ -804,7 +804,7 @@ static int print_awk_value (ase_awk_pair_t* pair, void* arg)
static void on_run_statement (
ase_awk_run_t* run, ase_size_t line, void* custom)
{
/*dprintf (L"running %d\n", (int)line);*/
dprintf (L"running %d\n", (int)line);
}
static void on_run_return (
@ -1178,9 +1178,9 @@ static int awk_main (int argc, ase_char_t* argv[])
srcios.custom_data = &src_io;
ase_awk_setmaxdepth (
awk, ASE_AWK_DEPTH_BLOCK_PARSE | ASE_AWK_DEPTH_EXPR_PARSE, 20);
awk, ASE_AWK_DEPTH_BLOCK_PARSE | ASE_AWK_DEPTH_EXPR_PARSE, 50);
ase_awk_setmaxdepth (
awk, ASE_AWK_DEPTH_BLOCK_RUN | ASE_AWK_DEPTH_EXPR_RUN, 50);
awk, ASE_AWK_DEPTH_BLOCK_RUN | ASE_AWK_DEPTH_EXPR_RUN, 1000);
/*ase_awk_setkeyword (awk, ASE_T("func"), 4, ASE_T("FX"), 2);*/