From 3f31c110cd29d9649f5cf8f89bf7109816e90f7b Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 1 Feb 2006 02:56:12 +0000 Subject: [PATCH] *** empty log message *** --- ase/awk/awk.c | 3 +-- ase/awk/parse.c | 4 ++-- ase/awk/tree.c | 10 +++++----- ase/awk/tree.h | 6 +++--- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/ase/awk/awk.c b/ase/awk/awk.c index 65894c74..7cba3115 100644 --- a/ase/awk/awk.c +++ b/ase/awk/awk.c @@ -1,5 +1,5 @@ /* - * $Id: awk.c,v 1.15 2006-01-31 16:57:45 bacon Exp $ + * $Id: awk.c,v 1.16 2006-02-01 02:56:12 bacon Exp $ */ #include @@ -194,4 +194,3 @@ static void __free_func (void* func) xp_awk_clrpt (f->body); xp_free (f); } - diff --git a/ase/awk/parse.c b/ase/awk/parse.c index a762f11e..94d466d4 100644 --- a/ase/awk/parse.c +++ b/ase/awk/parse.c @@ -1,5 +1,5 @@ /* - * $Id: parse.c,v 1.41 2006-01-31 16:57:45 bacon Exp $ + * $Id: parse.c,v 1.42 2006-02-01 02:56:12 bacon Exp $ */ #include @@ -921,7 +921,7 @@ static xp_awk_node_t* __parse_primary (xp_awk_t* awk) } /* search the parameter name list */ - idxa = xp_awk_tab_find (&awk->parse.params, name_dup, 0); + idxa = xp_awk_tab_find(&awk->parse.params, name_dup, 0); if (idxa != (xp_size_t)-1) { node->type = XP_AWK_NODE_ARG; node->next = XP_NULL; diff --git a/ase/awk/tree.c b/ase/awk/tree.c index 6fa46417..edf24089 100644 --- a/ase/awk/tree.c +++ b/ase/awk/tree.c @@ -1,5 +1,5 @@ /* - * $Id: tree.c,v 1.14 2006-01-31 16:57:45 bacon Exp $ + * $Id: tree.c,v 1.15 2006-02-01 02:56:12 bacon Exp $ */ #include @@ -380,8 +380,8 @@ void xp_awk_clrpt (xp_awk_node_t* tree) case XP_AWK_NODE_ARGIDX: xp_awk_clrpt (((xp_awk_node_idx_t*)p)->idx); - if (((xp_awk_node_var_t*)p)->id.name != XP_NULL) - xp_free (((xp_awk_node_var_t*)p)->id.name); + if (((xp_awk_node_idx_t*)p)->id.name != XP_NULL) + xp_free (((xp_awk_node_idx_t*)p)->id.name); xp_free (p); break; @@ -393,8 +393,8 @@ void xp_awk_clrpt (xp_awk_node_t* tree) case XP_AWK_NODE_VARIDX: xp_awk_clrpt (((xp_awk_node_idx_t*)p)->idx); - if (((xp_awk_node_var_t*)p)->id.name != XP_NULL) - xp_free (((xp_awk_node_var_t*)p)->id.name); + if (((xp_awk_node_idx_t*)p)->id.name != XP_NULL) + xp_free (((xp_awk_node_idx_t*)p)->id.name); xp_free (p); break; diff --git a/ase/awk/tree.h b/ase/awk/tree.h index 07eebadb..1f1b4efa 100644 --- a/ase/awk/tree.h +++ b/ase/awk/tree.h @@ -1,5 +1,5 @@ /* - * $Id: tree.h,v 1.19 2006-01-30 14:34:47 bacon Exp $ + * $Id: tree.h,v 1.20 2006-02-01 02:56:12 bacon Exp $ */ #ifndef _XP_AWK_TREE_H_ @@ -102,7 +102,7 @@ struct xp_awk_node_term_t struct xp_awk_node_var_t { XP_AWK_NODE_HDR; - union + struct // uniion { xp_char_t* name; xp_size_t idxa; @@ -112,7 +112,7 @@ struct xp_awk_node_var_t struct xp_awk_node_idx_t { XP_AWK_NODE_HDR; - union + struct // union { xp_char_t* name; xp_size_t idxa;