correctly parse pkgs, actually

This commit is contained in:
Scott Richmond 2024-05-20 18:24:41 -04:00
parent 4547c0747d
commit 8b0954b8ec

View File

@ -875,7 +875,7 @@
(def value (word-only parser))
(def key (keyword (value :data)))
(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"))
(separators parser))
(advance parser)