Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
handle the case where perl6 -Mfoo switches to a slang
In the common case where this is not the case it is just an istype check and
the call to LANG.
  • Loading branch information
FROGGS committed Aug 2, 2014
1 parent 4e9338a commit e036e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -1020,7 +1020,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {

<.finishpad>
<.bom>?
<statementlist=.LANG($*MAIN, 'statementlist', 1)>
<statementlist=.FOREIGN_LANG($*MAIN, 'statementlist', 1)>

<.install_doc_phaser>

Expand Down

0 comments on commit e036e23

Please sign in to comment.