summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-08-31 22:32:17 +0000
committerChris Wilson <chris+github@qwirx.com>2006-08-31 22:32:17 +0000
commite0e456e245ff5b39a8675d70e19882599df135b7 (patch)
tree1b251f27d986ff28c6a886e02b1c0268e9d90ca4
parentd917c007a871e3570cf94bba6577e04272a20625 (diff)
Revert to trunk
-rwxr-xr-xlib/common/makeexception.pl.in11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/common/makeexception.pl.in b/lib/common/makeexception.pl.in
index c03b8277..1564b75b 100755
--- a/lib/common/makeexception.pl.in
+++ b/lib/common/makeexception.pl.in
@@ -1,11 +1,9 @@
#!@PERL@
-use lib "../../infrastructure";
-use BoxPlatform;
-
# global exception list file
my $global_list = '../../ExceptionCodes.txt';
+
my @exception;
my @exception_desc;
my $class;
@@ -48,8 +46,8 @@ close EXCEPTION_DESC;
# write the code
print "Generating $class exception...\n";
-open CPP,">autogen_${class}Exception.cpp.new" or die "Can't open cpp file for writing";
-open H,">autogen_${class}Exception.h.new" or die "Can't open h file for writing";
+open CPP,">autogen_${class}Exception.cpp" or die "Can't open cpp file for writing";
+open H,">autogen_${class}Exception.h" or die "Can't open h file for writing";
# write header file
my $guardname = uc 'AUTOGEN_'.$class.'EXCEPTION_H';
@@ -202,9 +200,6 @@ __E
close H;
close CPP;
-update_if_changed("autogen_${class}Exception.cpp");
-update_if_changed("autogen_${class}Exception.h");
-
# update the global exception list
my $list_before;
my $list_after;