Index: exceptions.c
===================================================================
RCS file: /home/perlcvs/parrot/exceptions.c,v
retrieving revision 1.2
diff -u -r1.2 exceptions.c
--- exceptions.c        15 Feb 2002 23:20:31 -0000      1.2
+++ exceptions.c        16 Feb 2002 03:55:58 -0000
@@ -1,4 +1,4 @@
-/* exceptions.h
+/* exceptions.c
  *  Copyright: (When this is determined...it will go here)
  *  CVS Info
  *     $Id: exceptions.c,v 1.2 2002/02/15 23:20:31 brentdax Exp $
@@ -11,6 +11,7 @@
  */
 
 #include "parrot/parrot.h"
+#include "parrot/exceptions.h"
 
 #include <stdarg.h>
 
@@ -44,7 +45,7 @@
 Architecture: " PARROT_ARCHNAME    "\n\
 JIT Capable : %s\n\
 \n\
-Interp Flags: 0x%x\n\
+Interp Flags: 0x%lx\n\
 Exceptions  : (missing from core)\n\
 \n\
 Dumping core...\n\
@@ -53,7 +54,7 @@
         file, 
         line, 
         "(not available)", 
-        interpreter->current_line, 
+        (int)interpreter->current_line, 
         (JIT_CAPABLE ? "Yes" : "No"),
         interpreter->flags);
     dumpcore();
Index: include/parrot/exceptions.h
===================================================================
RCS file: /home/perlcvs/parrot/include/parrot/exceptions.h,v
retrieving revision 1.13
diff -u -r1.13 exceptions.h
--- include/parrot/exceptions.h 15 Feb 2002 23:20:50 -0000      1.13
+++ include/parrot/exceptions.h 16 Feb 2002 03:55:59 -0000
@@ -16,6 +16,7 @@
 
 /* Prototypes */
 void internal_exception(int exitcode, const char * format, ... );
+void do_panic(struct Parrot_Interp *interpreter, char *message, char *file, int line);
 
 #define PANIC(message)\
        do_panic(interpreter, message, __FILE__, __LINE__)

-- 
Josh Wilmes  ([EMAIL PROTECTED]) | http://www.hitchhiker.org



Reply via email to