Skip to content

Commit 09bd1bc

Browse files
committed
removed metachar:sym<$( )>
Which was my first approach to support contextualizers. Since this is not the way STD does it, and since it doesnt work right, it gets reverted.
1 parent 44054e8 commit 09bd1bc

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/QRegex/P6Regex/Actions.nqp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ class QRegex::P6Regex::Actions is HLL::Actions {
178178
make QAST::Regex.new( :rxtype<anchor>, :subtype<bol>, :node($/) );
179179
}
180180

181-
method metachar:sym<$( )>($/) {
182-
make $<nibbler>.ast
183-
}
184-
185181
method metachar:sym<$>($/) {
186182
make QAST::Regex.new( :rxtype<anchor>, :subtype<eos>, :node($/) );
187183
}

src/QRegex/P6Regex/Grammar.nqp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
178178
token metachar:sym<ws> { <.normspace> }
179179
token metachar:sym<[ ]> { '[' <nibbler> ']' }
180180
token metachar:sym<( )> { '(' <nibbler> ')' }
181-
token metachar:sym<$( )> { '$(' <nibbler> ')' }
182181
token metachar:sym<'> { <?[']> <quote_EXPR: ':q'> }
183182
token metachar:sym<"> { <?["]> <quote_EXPR: ':qq'> }
184183
token metachar:sym<.> { <sym> }

0 commit comments

Comments
 (0)