Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

'use v6' was clobbering %*LANG

  • Loading branch information...
commit 2b0f93de5613dd0403a5bde8af68453c3515d1de 1 parent 9f91d53
@TimToady TimToady authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  STD.pm6
View
3  STD.pm6
@@ -1434,7 +1434,7 @@ grammar P6 is STD {
<sym> :: <.ws>
[
|| <version> <?{ substr($<version>.Str,0,2) eq 'v6' }>
- || <version> <?{ substr($<version>.Str,0,2) eq 'v5' }>
+ || <version> <?{ substr($<version>.Str,0,2) eq 'v5' }> [
:my %*LANG;
{
self.require_P5;
@@ -1446,6 +1446,7 @@ grammar P6 is STD {
}
<.ws> ';'
[ <statementlist> || <.panic: "Bad P5 code"> ]
+ ]
|| <module_name>
{
$longname = $<module_name><longname>;
Please sign in to comment.
Something went wrong with that request. Please try again.