This commit is contained in:
Scott Richmond 2022-03-19 12:27:30 -04:00
parent 83392e3ac4
commit 37b9560ee3

View File

@ -92,7 +92,7 @@
type (::token/type curr)] type (::token/type curr)]
(if (contains? tokens type) (if (contains? tokens type)
{:success true :parser (advance parser)} {:success true :parser (advance parser)}
{:success false :paser (panic (advance parser) message)} {:success false :parser (panic (advance parser) message)}
))) )))
(defn- accept [tokens parser] (defn- accept [tokens parser]