Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
parse q:val for GlitchMr++
  • Loading branch information
TimToady committed Sep 19, 2012
1 parent b842bb3 commit 77327a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions STD.pm6
Expand Up @@ -4327,6 +4327,14 @@ grammar Q is STD {
method postprocessor () { 'null' }
}

role v1 {
method postprocessor () { 'val' }
}

role v0 {
method postprocessor () { 'null' }
}

role w1 {
method postprocessor () { 'words' }
}
Expand Down Expand Up @@ -4459,6 +4467,7 @@ grammar Q is STD {

multi method tweak (:path(:$p)!) { self.mixin($p ?? ::p1 !! ::p0) }
multi method tweak (:exec(:$x)!) { self.mixin($x ?? ::x1 !! ::x0) }
multi method tweak (:val(:$v)!) { self.mixin($v ?? ::v1 !! ::v0) }
multi method tweak (:words(:$w)!) { self.mixin($w ?? ::w1 !! ::w0) }
multi method tweak (:quotewords(:$ww)!) { self.mixin($ww ?? ::ww1 !! ::ww0) }

Expand Down

0 comments on commit 77327a4

Please sign in to comment.