fix emitter perl script
authorMatthias Braun <matze@braunis.de>
Fri, 16 Feb 2007 09:47:46 +0000 (09:47 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 16 Feb 2007 09:47:46 +0000 (09:47 +0000)
ir/be/scripts/generate_emitter.pl
ir/be/scripts/generate_emitter_new.pl

index 445cb3d..0e32977 100755 (executable)
@@ -9,8 +9,8 @@
 use strict;
 use Data::Dumper;
 
-my $specfile   = $ARGV[0];
-my $target_dir = $ARGV[1];
+our $specfile   = $ARGV[0];
+our $target_dir = $ARGV[1];
 
 our $arch;
 our $comment_string = "/*";
index 0e210aa..e4c4516 100755 (executable)
@@ -9,8 +9,8 @@
 use strict;
 use Data::Dumper;
 
-my $specfile   = $ARGV[0];
-my $target_dir = $ARGV[1];
+our $specfile;
+our $target_dir;
 
 our $arch;
 our $comment_string;