Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove buggy handling of "6;" as way to say "no strict"
The design docs said that a bare literal (not only the number six) would
trigger lax mode, but we came to the conclusion that this is not explicit
enough.
  • Loading branch information
FROGGS committed Feb 11, 2015
1 parent 2f7046f commit 62266f7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Perl6/Grammar.nqp
Expand Up @@ -1556,10 +1556,6 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
}
}

token statement_control:sym<6> {
<?{ $*begin_compunit }> <sym> <?[;]> <.ws> <!!{ $*STRICT := 0; 1 }>
}

token statement_control:sym<no> {
:my $longname;
<sym> <.ws>
Expand Down

0 comments on commit 62266f7

Please sign in to comment.