From e0e456e245ff5b39a8675d70e19882599df135b7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 31 Aug 2006 22:32:17 +0000 Subject: Revert to trunk --- lib/common/makeexception.pl.in | 11 +++-------- 1 file 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; -- cgit v1.2.3