aboutsummaryrefslogtreecommitdiff
path: root/src/common/stack_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/stack_core.c')
-rw-r--r--src/common/stack_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/stack_core.c b/src/common/stack_core.c
index 6875862..bf766d4 100644
--- a/src/common/stack_core.c
+++ b/src/common/stack_core.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/19 06:37:45 by cacharle #+# #+# */
-/* Updated: 2020/01/19 06:50:50 by cacharle ### ########.fr */
+/* Updated: 2020/01/19 13:33:08 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -24,6 +24,7 @@ t_stack *stack_new(int size)
return (NULL);
}
stack->top = -1;
+ stack->tag = STACK_NO_TAG;
return (stack);
}