aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nimfunge98.nim2
-rw-r--r--src/pointer.nim8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/nimfunge98.nim b/src/nimfunge98.nim
index 6e6efb9..f800062 100644
--- a/src/nimfunge98.nim
+++ b/src/nimfunge98.nim
@@ -39,6 +39,6 @@ if f == nil:
echo "Failed to load ", filename
quit 1
let argv = @[filename]
-var p = NewPointer(argv=argv)
+var p = NewPointer(argv = argv)
let v = NewInterpreter(f, p)[].Run()
quit v
diff --git a/src/pointer.nim b/src/pointer.nim
index d6ce351..91fb8be 100644
--- a/src/pointer.nim
+++ b/src/pointer.nim
@@ -10,12 +10,12 @@ randomize()
type
Pointer* = object
- x, y: int # The pointer's positiont
- dx, dy: int # The pointer's traveling delta
- sox, soy: int # The storage offset
+ x, y: int # The pointer's positiont
+ dx, dy: int # The pointer's traveling delta
+ sox, soy: int # The storage offset
stringMode, lastCharWasSpace: bool # The string mode flags
ss: ref StackStack
- next*: ref Pointer # the next element for multi-threaded funge-98
+ next*: ref Pointer # the next element for multi-threaded funge-98
characterInput*: proc(): int
decimalInput*: proc(): int
characterOutput*: proc(v: int)