From 9321586129b0019057df9b975e46335e4a118e1d Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 22 Oct 2021 18:45:54 +0200 Subject: Simplified some stack stack code --- src/pointer.nim | 6 +++--- src/stackStack.nim | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/pointer.nim b/src/pointer.nim index 219fa12..ae11ce8 100644 --- a/src/pointer.nim +++ b/src/pointer.nim @@ -201,7 +201,7 @@ proc Eval(p: var Pointer, f: var Field, c: int): (bool, ref int) = let n = p.ss[].Pop() let now = now() let (x, y, lx, ly) = f.GetSize() - let (height, heights) = p.ss[].GetHeights() + let heights = p.ss[].GetHeights() # 20 for key, value in envPairs(): case key @@ -229,10 +229,10 @@ proc Eval(p: var Pointer, f: var Field, c: int): (bool, ref int) = for j in countdown(p.argv[i].len-1, 0): p.ss[].Push(int(p.argv[i][j])) # 18 - for i in 0..