From 21cbac676962af4df351fd184fdf24b4cc7e6651 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 22 Sep 2021 00:31:53 +0200 Subject: Continued implementing the stack stack --- pkg/stack/stack-stack.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/stack/stack-stack.go') diff --git a/pkg/stack/stack-stack.go b/pkg/stack/stack-stack.go index db5a405..adc41c6 100644 --- a/pkg/stack/stack-stack.go +++ b/pkg/stack/stack-stack.go @@ -17,6 +17,7 @@ func NewStackStack() *StackStack { } func (ss *StackStack) Begin(p *pointer.Pointer) { + ss.height++ soss := ss.head n := soss.Pop() np := n -- cgit v1.2.3