correctly parse pkgs, actually
This commit is contained in:
parent
4547c0747d
commit
8b0954b8ec
|
@ -875,7 +875,7 @@
|
||||||
(def value (word-only parser))
|
(def value (word-only parser))
|
||||||
(def key (keyword (value :data)))
|
(def key (keyword (value :data)))
|
||||||
(def kw-ast {:type :keyword :data key :token origin})
|
(def kw-ast {:type :keyword :data key :token origin})
|
||||||
(array/push data {:type :pair :data [key value] :token origin}))
|
(array/push data {:type :pair :data [kw-ast value] :token origin}))
|
||||||
(panic parser "expected pkg term"))
|
(panic parser "expected pkg term"))
|
||||||
(separators parser))
|
(separators parser))
|
||||||
(advance parser)
|
(advance parser)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user