*** empty log message ***

This commit is contained in:
2007-01-14 15:08:01 +00:00
parent 1ecd0723c7
commit 596059efb5
7 changed files with 279 additions and 68 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: tree.h,v 1.84 2006-12-16 14:43:51 bacon Exp $
* $Id: tree.h,v 1.85 2007-01-14 15:07:21 bacon Exp $
*/
#ifndef _ASE_AWK_TREE_H_
@ -89,18 +89,25 @@ enum ase_awk_out_type_t
};
/* afn (awk function defined with the keyword function) */
typedef struct ase_awk_afn_t ase_awk_afn_t;
typedef struct ase_awk_nde_t ase_awk_nde_t;
typedef struct ase_awk_afn_t ase_awk_afn_t;
typedef struct ase_awk_nde_t ase_awk_nde_t;
typedef struct ase_awk_nde_blk_t ase_awk_nde_blk_t;
typedef struct ase_awk_nde_grp_t ase_awk_nde_grp_t;
typedef struct ase_awk_nde_ass_t ase_awk_nde_ass_t;
typedef struct ase_awk_nde_exp_t ase_awk_nde_exp_t;
typedef struct ase_awk_nde_cnd_t ase_awk_nde_cnd_t;
typedef struct ase_awk_nde_pos_t ase_awk_nde_pos_t;
#ifndef ASE_AWK_NDE_INT_DEFINED
#define ASE_AWK_NDE_INT_DEFINED
typedef struct ase_awk_nde_int_t ase_awk_nde_int_t;
#endif
#ifndef ASE_AWK_NDE_REAL_DEFINED
#define ASE_AWK_NDE_REAL_DEFINED
typedef struct ase_awk_nde_real_t ase_awk_nde_real_t;
#endif
typedef struct ase_awk_nde_str_t ase_awk_nde_str_t;
typedef struct ase_awk_nde_rex_t ase_awk_nde_rex_t;
typedef struct ase_awk_nde_var_t ase_awk_nde_var_t;

View File

@ -1,14 +1,17 @@
/*
* $Id: val.h,v 1.57 2006-12-16 14:43:51 bacon Exp $
* $Id: val.h,v 1.58 2007-01-14 15:07:22 bacon Exp $
*/
#ifndef _ASE_AWK_VAL_H_
#define _ASE_AWK_VAL_H_
#ifndef _ASE_AWK_AWK_H_
#error Never include this file directly. Include <ase/awk/awk.h> instead
#error Include <ase/awk/awk.h> first
#endif
#include <ase/awk/str.h>
#include <ase/awk/map.h>
enum ase_awk_val_type_t
{
/* the values between ASE_AWK_VAL_NIL and ASE_AWK_VAL_STR inclusive
@ -63,6 +66,17 @@ typedef struct ase_awk_val_ref_t ase_awk_val_ref_t;
unsigned int ref: 29
#endif
#ifndef ASE_AWK_NDE_INT_DEFINED
#define ASE_AWK_NDE_INT_DEFINED
typedef struct ase_awk_nde_int_t ase_awk_nde_int_t;
#endif
#ifndef ASE_AWK_NDE_REAL_DEFINED
#define ASE_AWK_NDE_REAL_DEFINED
typedef struct ase_awk_nde_real_t ase_awk_nde_real_t;
#endif
struct ase_awk_val_t
{
ASE_AWK_VAL_HDR;
@ -126,7 +140,7 @@ struct ase_awk_val_ref_t
int id;
/* if id is ASE_AWK_VAL_REF_POS, adr holds an index of the
* positionalvariable. Otherwise, adr points to the value
* positional variable. Otherwise, adr points to the value
* directly. */
ase_awk_val_t** adr;
};