aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-10-05 12:56:31 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-10-05 12:56:31 +0200
commitbcb0224f8f2d19cd03a2527eec2f5eb42abef7cd (patch)
tree674e7412188b1c7fb6decd02575e70f0d74247b6 /profile.c
parent5caf2424094016b9a26c5d9d74b25cab39671478 (diff)
parent81896b422307105edb9908958bbedd09967d9a05 (diff)
downloadegawk-bcb0224f8f2d19cd03a2527eec2f5eb42abef7cd.tar.gz
egawk-bcb0224f8f2d19cd03a2527eec2f5eb42abef7cd.tar.bz2
egawk-bcb0224f8f2d19cd03a2527eec2f5eb42abef7cd.zip
Merge branch 'symtab'
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c9
1 files changed, 5 insertions, 4 deletions
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;
}