dojo: parse %as in ++parse-value instead of ++parse-build

Allows things like `+hello &helm-hi 'hi'`. Fixes #1476.
This commit is contained in:
pkova 2020-09-25 14:11:40 +03:00
parent 2b723e9ac1
commit d576c9479f

View File

@ -218,7 +218,6 @@
;~(plug (cold %ur lus) parse-url)
;~(plug (cold %ge lus) parse-model)
;~(plug (cold %te hep) sym (star ;~(pfix ace parse-source)))
;~(plug (cold %as pad) sym ;~(pfix ace parse-source))
;~(plug (cold %do cab) parse-hoon ;~(pfix ace parse-source))
parse-value
==
@ -284,6 +283,7 @@
==
++ parse-value
;~ pose
;~(plug (cold %as pad) sym ;~(pfix ace parse-source))
(stag %sa ;~(pfix tar pad sym))
(stag %ex parse-hoon)
(stag %tu (ifix [lac rac] (most ace parse-source)))