aboutsummaryrefslogtreecommitdiff
path: root/src/stackStack.nim
diff options
context:
space:
mode:
authorJulien Dessaux2021-10-04 23:46:32 +0200
committerJulien Dessaux2021-10-04 23:47:07 +0200
commit7c24db334e06eed592dae73d4aeed5ae287536bb (patch)
treebce90a013156d3373f1df5142726f07ec0275522 /src/stackStack.nim
parentFinished implementing the stackstack (diff)
downloadnimfunge98-7c24db334e06eed592dae73d4aeed5ae287536bb.tar.gz
nimfunge98-7c24db334e06eed592dae73d4aeed5ae287536bb.tar.bz2
nimfunge98-7c24db334e06eed592dae73d4aeed5ae287536bb.zip
Cosmetics
Diffstat (limited to 'src/stackStack.nim')
-rw-r--r--src/stackStack.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stackStack.nim b/src/stackStack.nim
index 1bc89c0..d55d5d9 100644
--- a/src/stackStack.nim
+++ b/src/stackStack.nim
@@ -6,7 +6,7 @@ type
head: ref Stack
func NewStackStack*(): ref StackStack =
- result = new(StackStack)
+ new(result)
result.head = NewStack()
result.height = 1