aboutsummaryrefslogtreecommitdiff
path: root/src/common/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/stack.c')
-rw-r--r--src/common/stack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/stack.c b/src/common/stack.c
index 02d3207..269dbc4 100644
--- a/src/common/stack.c
+++ b/src/common/stack.c
@@ -26,6 +26,7 @@ void stack_destroy(t_stack *stack)
void stack_push(t_stack *stack, int n)
{
stack->top++;
+ printf("%d\n", stack->top);
stack->elements[stack->top] = n;
}