From 39f19102f07fdcc8079f90e1860aabccd46e6860 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 9 May 2006 03:00:25 +0000 Subject: [PATCH] *** empty log message *** --- ase/awk/run.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ase/awk/run.c b/ase/awk/run.c index 4e71c2b0..366fd038 100644 --- a/ase/awk/run.c +++ b/ase/awk/run.c @@ -1,5 +1,5 @@ /* - * $Id: run.c,v 1.87 2006-05-07 17:45:08 bacon Exp $ + * $Id: run.c,v 1.88 2006-05-09 03:00:25 bacon Exp $ */ #include @@ -459,12 +459,15 @@ static int __run_pattern_blocks (xp_awk_run_t* run) if (x == 0) break; /* end of input */ /* +xp_printf (XP_T("**** line [%s]\n"), XP_STR_BUF(&run->input.line)); * TODO: execute pattern blocks. */ /* for each block { run it } - * handle according if next and nextfile has been called + * TODO: handle according if next and nextfile has been called */ - xp_printf (XP_T("**** line [%s]\n"), XP_STR_BUF(&run->input.line)); +/* TODO */ + if (__run_block (run, + (xp_awk_nde_blk_t*)run->tree->begin) == -1) n = -1; } n = run->txtio (XP_AWK_INPUT_CLOSE, run->txtio_arg, XP_NULL, 0);