From c9b3a999bd003b6489c5679c91c06ec48258e648 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 4 Oct 2021 20:10:21 +0200 Subject: Finished implementing the stackstack --- src/stack.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stack.nim') diff --git a/src/stack.nim b/src/stack.nim index eeef5cd..9ba3e24 100644 --- a/src/stack.nim +++ b/src/stack.nim @@ -73,6 +73,7 @@ func Transfert*(toss: var Stack, soss: var Stack, n: int) = soss.height = 0 func Discard*(s: var Stack, n: int) = + ## Implements a discard mechanism intended for use with the '}'(aka end) stackstack command s.height -= n if s.height < 0: s.height = 0 -- cgit v1.2.3