Fix botched reserved word update
This commit is contained in:
parent
4b5a549561
commit
bb1f2a0086
|
@ -50,7 +50,8 @@
|
||||||
; "wait" ::token/wait
|
; "wait" ::token/wait
|
||||||
;; vars
|
;; vars
|
||||||
; "mut" ::token/mut
|
; "mut" ::token/mut
|
||||||
; "var" ::token/var})
|
; "var" ::token/var
|
||||||
|
})
|
||||||
|
|
||||||
(defn- new-scanner
|
(defn- new-scanner
|
||||||
"Creates a new scanner."
|
"Creates a new scanner."
|
||||||
|
@ -324,8 +325,3 @@
|
||||||
{:tokens (::tokens scanner)
|
{:tokens (::tokens scanner)
|
||||||
:errors (::errors scanner)})
|
:errors (::errors scanner)})
|
||||||
(recur (-> scanner (scan-token) (next-token))))))
|
(recur (-> scanner (scan-token) (next-token))))))
|
||||||
|
|
||||||
(comment
|
|
||||||
(def source "@{")
|
|
||||||
|
|
||||||
(pp/pprint (scan source)))
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user