From d576c9479f0d135362a33e05db7c42f61dc069e0 Mon Sep 17 00:00:00 2001 From: pkova Date: Fri, 25 Sep 2020 14:11:40 +0300 Subject: [PATCH] dojo: parse %as in ++parse-value instead of ++parse-build Allows things like `+hello &helm-hi 'hi'`. Fixes #1476. --- pkg/arvo/app/dojo.hoon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/arvo/app/dojo.hoon b/pkg/arvo/app/dojo.hoon index da42334f25..2716c009f7 100644 --- a/pkg/arvo/app/dojo.hoon +++ b/pkg/arvo/app/dojo.hoon @@ -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)))