*** empty log message ***

This commit is contained in:
hyung-hwan 2006-03-07 16:02:58 +00:00
parent 7e22a65fd0
commit c9b5100bb8
2 changed files with 40 additions and 2 deletions

39
ase/awk/run.h Normal file
View File

@ -0,0 +1,39 @@
/*
* $Id: run.h,v 1.1 2006-03-07 16:02:58 bacon Exp $
*/
#ifndef _XP_AWK_RUN_H_
#define _XP_AWK_RUN_H_
#ifndef _XP_AWK_AWK_H_
#error Never include this file directly. Include <xp/awk/awk.h> instead
#endif
typedef struct xp_awk_frm_t xp_awk_frm_t;
struct xp_awk_frm_t
{
xp_size_t nparams;
xp_size_t nlocals;
xp_awk_val_t* stack;
xp_awk_frm_t* prev;
};
enum
{
XP_AWK_BINOP_PLUS,
XP_AWK_BINOP_MINUS,
XP_AWK_BINOP_MUL,
XP_AWK_BINOP_DIV,
XP_AWK_BINOP_MOD,
XP_AWK_BINOP_RSHIFT,
XP_AWK_BINOP_LSHIFT,
XP_AWK_BINOP_EQ,
XP_AWK_BINOP_NE,
XP_AWK_BINOP_GT,
XP_AWK_BINOP_GE,
XP_AWK_BINOP_LT,
XP_AWK_BINOP_LE
};
#endif

View File

@ -1,5 +1,5 @@
/*
* $Id: tree.h,v 1.26 2006-03-05 17:07:33 bacon Exp $
* $Id: tree.h,v 1.27 2006-03-07 16:02:18 bacon Exp $
*/
#ifndef _XP_AWK_TREE_H_
@ -58,7 +58,6 @@ typedef struct xp_awk_nde_int_t xp_awk_nde_int_t;
typedef struct xp_awk_nde_str_t xp_awk_nde_str_t;
typedef struct xp_awk_nde_var_t xp_awk_nde_var_t;
typedef struct xp_awk_nde_idx_t xp_awk_nde_idx_t;
typedef struct xp_awk_nde_pos_t xp_awk_nde_pos_t;
typedef struct xp_awk_nde_call_t xp_awk_nde_call_t;
typedef struct xp_awk_nde_if_t xp_awk_nde_if_t;