mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
hoon: add doc parsing flag to +vang
+vang is for setting +vast params, but was missing the parameter for doc. this adds it and changes the callsites to vang around %base to reflect this
This commit is contained in:
parent
c2c36f42f5
commit
94ba944188
@ -118,7 +118,7 @@
|
||||
|= [our=ship dir=beam]
|
||||
|%
|
||||
++ default-app %hood
|
||||
++ hoon-parser (vang | (en-beam dir))
|
||||
++ hoon-parser (vang | (en-beam dir) &)
|
||||
++ our p.dir
|
||||
::
|
||||
++ parse-command-line ;~(sfix parse-command (star ace) (just '\0a'))
|
||||
@ -309,7 +309,7 @@
|
||||
++ parse-rood
|
||||
:: XX should this use +hoon-parser instead to normalize the case?
|
||||
::
|
||||
=> (vang | (en-beam dir))
|
||||
=> (vang | (en-beam dir) &)
|
||||
;~ pose
|
||||
rood
|
||||
::
|
||||
@ -1225,7 +1225,7 @@
|
||||
:+ %clhp
|
||||
[%rock %tas %cx]
|
||||
%+ rash pax.source.com
|
||||
rood:(vang | /(scot %p our.hid)/base/(scot %da now.hid))
|
||||
rood:(vang | /(scot %p our.hid)/base/(scot %da now.hid) &)
|
||||
::
|
||||
%url [%ur (crip (en-purl:html url.source.com))]
|
||||
%api !!
|
||||
@ -1256,7 +1256,7 @@
|
||||
%hoon
|
||||
:* %do
|
||||
%+ rash code.source.com
|
||||
tall:(vang | /(scot %p our.hid)/base/(scot %da now.hid))
|
||||
tall:(vang | /(scot %p our.hid)/base/(scot %da now.hid) &)
|
||||
$(num +(num), source.com next.source.com)
|
||||
==
|
||||
::
|
||||
|
@ -11422,9 +11422,14 @@
|
||||
:: 5d: parser
|
||||
+| %parser
|
||||
::
|
||||
++ vang :: set ++vast params
|
||||
|= [bug=? wer=path] :: bug: debug mode
|
||||
%*(. vast bug bug, wer wer) :: wer: where we are
|
||||
:: +vang: set +vast params
|
||||
::
|
||||
:: bug: debug mode
|
||||
:: wer: where we are
|
||||
:: doc: doccord parsing
|
||||
++ vang
|
||||
|= [bug=? wer=path doc=?]
|
||||
%*(. vast bug bug, wer wer, doc doc)
|
||||
::
|
||||
++ vast :: main parsing core
|
||||
=+ [bug=`?`| wer=*path doc=`?`&]
|
||||
|
@ -969,7 +969,7 @@
|
||||
==
|
||||
::
|
||||
%+ stag %tssg
|
||||
(most gap tall:(vang & pax))
|
||||
(most gap tall:(vang & pax &))
|
||||
==
|
||||
::
|
||||
++ pant
|
||||
|
@ -44,7 +44,7 @@
|
||||
==
|
||||
::
|
||||
%+ stag %tssg
|
||||
(most gap tall:(vang & pax))
|
||||
(most gap tall:(vang & pax &))
|
||||
==
|
||||
::
|
||||
++ pant
|
||||
|
@ -683,7 +683,7 @@
|
||||
|= tub=nail
|
||||
%. tub
|
||||
%+ stag (crip q.tub)
|
||||
wide:(vang & [&1:% &2:% (scot %da now.bowl) |3:%])
|
||||
wide:(vang & [&1:% &2:% (scot %da now.bowl) |3:%] &)
|
||||
--
|
||||
:: +tab-list: command descriptions
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user