summaryrefslogtreecommitdiff
path: root/input.lisp
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2023-07-24 00:12:01 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2023-07-24 00:12:01 -0300
commit3eba112a9a5be8181b8ca39b2ca955f28984b1b6 (patch)
tree497b3277cdee8ba2b5be943b856ac76c7b2fb4fc /input.lisp
parentaa378b3568b7dbb05de0de9f17abaae03863058a (diff)
downloadmonparser-3eba112a9a5be8181b8ca39b2ca955f28984b1b6.tar.gz
monparser-3eba112a9a5be8181b8ca39b2ca955f28984b1b6.zip
Change how critical parts of the parsing are handled
Diffstat (limited to 'input.lisp')
-rw-r--r--input.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.lisp b/input.lisp
index a96888f..d88d14d 100644
--- a/input.lisp
+++ b/input.lisp
@@ -23,7 +23,7 @@
(make-instance 'input
:data (data input)
:file (file input)
- :cursor (1+ (cursor input))))
+ :cursor (+ (cursor input) amount)))
(defun from-string (str)
(make-instance 'input :data str))