*** empty log message ***

This commit is contained in:
hyung-hwan 2006-04-24 15:36:08 +00:00
parent 145c854513
commit 06562c78f4
2 changed files with 12 additions and 3 deletions

View File

@ -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 <xp/awk/awk_i.h> #include <xp/awk/awk_i.h>
@ -865,7 +865,7 @@ static xp_awk_val_t* __eval_group (xp_awk_run_t* run, xp_awk_nde_t* nde)
{ {
/* NOT INIMPELMETED YET */ /* NOT INIMPELMETED YET */
xp_printf (XP_TEXT("eval_group not implemented\n")); xp_printf (XP_TEXT("eval_group not implemented\n"));
PANIC (awk, XP_AWK_EINTERNAL); PANIC (run, XP_AWK_EINTERNAL);
return XP_NULL; return XP_NULL;
} }

View File

@ -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_ #ifndef _XP_AWK_TREE_H_
@ -31,6 +31,7 @@ enum
/* if you change the following values including their order, /* if you change the following values including their order,
* you should change __eval_func of __eval_expression * you should change __eval_func of __eval_expression
* in run.c accordingly */ * in run.c accordingly */
XP_AWK_NDE_GRP,
XP_AWK_NDE_ASS, XP_AWK_NDE_ASS,
XP_AWK_NDE_EXP_BIN, XP_AWK_NDE_EXP_BIN,
XP_AWK_NDE_EXP_UNR, 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_t xp_awk_nde_t;
typedef struct xp_awk_nde_blk_t xp_awk_nde_blk_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_ass_t xp_awk_nde_ass_t;
typedef struct xp_awk_nde_exp_t xp_awk_nde_exp_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; 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_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 */ /* XP_AWK_NDE_ASS - assignment */
struct xp_awk_nde_ass_t struct xp_awk_nde_ass_t
{ {