*** empty log message ***
This commit is contained in:
parent
63fbbfedec
commit
3f31c110cd
@ -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 <xp/awk/awk.h>
|
||||
@ -194,4 +194,3 @@ static void __free_func (void* func)
|
||||
xp_awk_clrpt (f->body);
|
||||
xp_free (f);
|
||||
}
|
||||
|
||||
|
@ -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 <xp/awk/awk.h>
|
||||
|
@ -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 <xp/awk/awk.h>
|
||||
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user