summaryrefslogtreecommitdiff
path: root/lib/pile.c
diff options
context:
space:
mode:
authorbiouman <biouman>2001-05-01 09:48:02 +0000
committerbiouman <biouman>2001-05-01 09:48:02 +0000
commit6b8f02426a4dd9358c7b35d34268db358fd113c3 (patch)
treeb1f2af48fa2c6563ee7f3beef4163a0ff56232ef /lib/pile.c
parent9636d6739ebf330ef3fcc41ae838068e600c140b (diff)
*** empty log message ***
Diffstat (limited to 'lib/pile.c')
-rw-r--r--lib/pile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pile.c b/lib/pile.c
index 702f22d..5b98ef4 100644
--- a/lib/pile.c
+++ b/lib/pile.c
@@ -150,6 +150,7 @@ void act_pile(int func)
{
pile_elem operande1, operande2;
char buf[50];
+ char valid;
sprintf(buf, _("Calling act_pile(%i)"), func);
pushcontext(buf);
@@ -269,6 +270,9 @@ void act_pile(int func)
operande2 = pop_pile(1);
if ((operande1.type == T_POLY) && (operande2.type == T_STRING)) {
if (operande2.label) {
+ NomVarToVar(operande2.label, variables, &valid);
+ if (valid)
+ SupprimerDansTab(&variables,operande2.label);
InsererVarDansTab(&variables, CreerElement(operande2.label, (void *) operande1.poly));
free(operande2.label);
} else {