From 06562c78f467bf9abdcaa77043d8dd786da96c17 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 24 Apr 2006 15:36:08 +0000 Subject: [PATCH] *** empty log message *** --- ase/awk/run.c | 4 ++-- ase/awk/tree.h | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ase/awk/run.c b/ase/awk/run.c index e5fa7297..77218680 100644 --- a/ase/awk/run.c +++ b/ase/awk/run.c @@ -1,5 +1,5 @@ /* - * $Id: run.c,v 1.73 2006-04-24 15:34:52 bacon Exp $ + * $Id: run.c,v 1.74 2006-04-24 15:36:08 bacon Exp $ */ #include @@ -865,7 +865,7 @@ static xp_awk_val_t* __eval_group (xp_awk_run_t* run, xp_awk_nde_t* nde) { /* NOT INIMPELMETED YET */ xp_printf (XP_TEXT("eval_group not implemented\n")); - PANIC (awk, XP_AWK_EINTERNAL); + PANIC (run, XP_AWK_EINTERNAL); return XP_NULL; } diff --git a/ase/awk/tree.h b/ase/awk/tree.h index 31ec26be..4a121374 100644 --- a/ase/awk/tree.h +++ b/ase/awk/tree.h @@ -1,5 +1,5 @@ /* - * $Id: tree.h,v 1.37 2006-04-24 11:22:42 bacon Exp $ + * $Id: tree.h,v 1.38 2006-04-24 15:34:52 bacon Exp $ */ #ifndef _XP_AWK_TREE_H_ @@ -31,6 +31,7 @@ enum /* if you change the following values including their order, * you should change __eval_func of __eval_expression * in run.c accordingly */ + XP_AWK_NDE_GRP, XP_AWK_NDE_ASS, XP_AWK_NDE_EXP_BIN, XP_AWK_NDE_EXP_UNR, @@ -58,6 +59,7 @@ typedef struct xp_awk_func_t xp_awk_func_t; typedef struct xp_awk_nde_t xp_awk_nde_t; typedef struct xp_awk_nde_blk_t xp_awk_nde_blk_t; +typedef struct xp_awk_nde_grp_t xp_awk_nde_grp_t; typedef struct xp_awk_nde_ass_t xp_awk_nde_ass_t; typedef struct xp_awk_nde_exp_t xp_awk_nde_exp_t; typedef struct xp_awk_nde_cnd_t xp_awk_nde_cnd_t; @@ -103,6 +105,13 @@ struct xp_awk_nde_blk_t xp_awk_nde_t* body; }; +/* XP_AWK_NDE_GRP - expression group */ +struct xp_awk_nde_grp_t +{ + XP_AWK_NDE_HDR; + xp_awk_nde_t* head; +}; + /* XP_AWK_NDE_ASS - assignment */ struct xp_awk_nde_ass_t {