Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Perlito5 - js - create %SIG
  • Loading branch information
fglock committed Nov 3, 2014
1 parent af53198 commit 43c85a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perlito5.pl

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src5/lib/Perlito5/Javascript2/Emitter.pm
Expand Up @@ -692,6 +692,7 @@ package Perlito5::AST::CompUnit;
'$^V' => { decl => 'our', namespace => 'main' },
'%ENV' => { decl => 'our', namespace => 'main' },
'%INC' => { decl => 'our', namespace => 'main' },
'%SIG' => { decl => 'our', namespace => 'main' },
'@#' => { decl => 'our', namespace => 'main' },
'@ARGV' => { decl => 'our', namespace => 'main' },
'@INC' => { decl => 'our', namespace => 'main' },
Expand Down
1 change: 1 addition & 0 deletions src5/lib/Perlito5/Javascript2/Runtime.pm
Expand Up @@ -417,6 +417,7 @@ p5pkg["main"]["List_INC"] = [];
p5pkg["main"]["Hash_INC"] = {};
p5pkg["main"]["List_ARGV"] = [];
p5pkg["main"]["Hash_ENV"] = {};
p5pkg["main"]["Hash_SIG"] = {};
if (isNode) {
p5pkg["main"]["List_ARGV"] = process.argv.splice(2);
Expand Down

0 comments on commit 43c85a0

Please sign in to comment.