Reindent
This commit is contained in:
parent
a7ab313a5f
commit
23e29fdca2
|
@ -332,7 +332,7 @@
|
||||||
(assoc scanner :start (:current scanner)))
|
(assoc scanner :start (:current scanner)))
|
||||||
|
|
||||||
(defn scan [source]
|
(defn scan [source]
|
||||||
(loop [scanner (new-scanner (str source "\n"))]
|
(loop [scanner (new-scanner source)]
|
||||||
(if (at-end? scanner)
|
(if (at-end? scanner)
|
||||||
(let [scanner (add-token scanner :eof)]
|
(let [scanner (add-token scanner :eof)]
|
||||||
{:tokens (:tokens scanner)
|
{:tokens (:tokens scanner)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user