From b9a82851866f84ca306a2802b4ca50089a2fe683 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 25 Sep 2012 12:58:05 +0200 Subject: First cut at SYMTAB and FUNCTAB. --- profile.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'profile.c') diff --git a/profile.c b/profile.c index 16aa1cdd..dfac5c10 100644 --- a/profile.c +++ b/profile.c @@ -37,8 +37,9 @@ static NODE *pp_pop(void); static void pp_free(NODE *n); const char *redir2str(int redirtype); -#define pp_str hname -#define pp_len hlength +#define pp_str vname +#define pp_len sub.nodep.reserved +#define pp_next rnode #define DONT_FREE 1 #define CAN_FREE 2 @@ -135,7 +136,7 @@ pp_push(int type, char *s, int flag) n->pp_len = strlen(s); n->flags = flag; n->type = type; - n->hnext = pp_stack; + n->pp_next = pp_stack; pp_stack = n; } @@ -144,7 +145,7 @@ pp_pop() { NODE *n; n = pp_stack; - pp_stack = n->hnext; + pp_stack = n->pp_next; return n; } -- cgit v1.2.3