ddepcheck update

"Lars Ivar Igesund" <[email protected]> Fri, 28 Nov 2003 11:02:05 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <013a01c3b596$adb9c260$0200000a@mesmer>
Hi!

The attached diff updates ddepcheck to be compiled with the
latest DMD beta version (although it breaks support for older
versions of DMD.) 

Lars Ivar Igesund
ddc.diff (application/octet-stream, 992 B)
Index: ddepcheck.d
===================================================================
RCS file: /cvsroot/a-a-p/Exec/tools/ddepcheck.d,v
retrieving revision 1.3
diff -u -r1.3 ddepcheck.d
--- ddepcheck.d	14 Nov 2003 14:53:36 -0000	1.3
+++ ddepcheck.d	28 Nov 2003 09:47:44 -0000
@@ -1,7 +1,7 @@
 /*
  * ddepcheck.d
- * Version 0.9.3
- * Last modified 12th of November 2003
+ * Version 0.9.4
+ * Last modified 28th of November 2003
  *
  * Dependency walker for D source files.
  * Copyright 2003 Lars Ivar Igesund <larsivar'at'igesund.net>
@@ -123,7 +123,7 @@
   if (!versioncalled) {
     printf(toStringz("ddepcheck\n" ~ 
            "Dependency walker for D source files.\n" ~
-           "Version 0.9.3 Copyright Lars Ivar Igesund 2003\n"));
+           "Version 0.9.4 Copyright Lars Ivar Igesund 2003\n"));
   }
   versioncalled = true;
 }
@@ -429,7 +429,7 @@
   try {
     read(file);
   }
-  catch (FileError e) {
+  catch (FileException e) {
     result = false;
   }
   return result;