mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Adding "use strict" and "use warnings", for safety. Required some extra
variable declarations. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2176
This commit is contained in:
parent
9a14969e96
commit
5ca20c879d
@ -23,12 +23,17 @@
|
||||
#
|
||||
# The GNU General Public License is contained in the file COPYING.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $output = shift @ARGV;
|
||||
my $indent = "";
|
||||
my $headerguard;
|
||||
my $include;
|
||||
my $passcomment = 1;
|
||||
my $pre;
|
||||
my $post;
|
||||
my $generate;
|
||||
|
||||
my $struct = "VG_(tool_interface)";
|
||||
|
||||
@ -210,6 +215,7 @@ my $state = "idle";
|
||||
|
||||
my $buf;
|
||||
my $lines;
|
||||
my $prefix;
|
||||
|
||||
while(<STDIN>) {
|
||||
# skip simple comments
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user