Skip to content

Commit 0ef4235

Browse files
committed
nqpq: Remove obsolete "= open" key code.
1 parent 32fb34c commit 0ef4235

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/NQPQ/Actions.pm

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,14 +1039,6 @@ class NQP::Actions is HLL::Actions {
10391039
$*SC.pkg_add_method($*PACKAGE, 'add_method', $_.name(), $_, 0);
10401040
}
10411041
}
1042-
elsif $key eq 'open' {
1043-
if $<sym> eq 'token' { %*RX<r> := 1; }
1044-
if $<sym> eq 'rule' { %*RX<r> := 1; %*RX<s> := 1; }
1045-
$QRegex::P6Regex::Actions::REGEXNAME := $name;
1046-
@BLOCK[0].symbol('', :scope('lexical'));
1047-
@BLOCK[0].symbol('$/', :scope('lexical'));
1048-
return 0;
1049-
}
10501042
else {
10511043
my $regex :=
10521044
QRegex::P6Regex::Actions::buildsub($<p6regex>.ast, @BLOCK.shift);

0 commit comments

Comments
 (0)