[svn:parrot] r47782 - trunk/src

cotto at svn.parrot.org cotto at svn.parrot.org
Wed Jun 23 08:43:03 UTC 2010


Author: cotto
Date: Wed Jun 23 08:43:03 2010
New Revision: 47782
URL: https://trac.parrot.org/parrot/changeset/47782

Log:
[pbc] output element numbers in hex to make it easier to trace through pbc dumps

Modified:
   trunk/src/packdump.c

Modified: trunk/src/packdump.c
==============================================================================
--- trunk/src/packdump.c	Wed Jun 23 08:04:24 2010	(r47781)
+++ trunk/src/packdump.c	Wed Jun 23 08:43:03 2010	(r47782)
@@ -68,7 +68,7 @@
     opcode_t i;
 
     for (i = 0; i < self->const_count; ++i) {
-        Parrot_io_printf(interp, "    # %ld:\n", (long)i);
+        Parrot_io_printf(interp, "    # %x:\n", (long)i);
         PackFile_Constant_dump(interp, self, self->constants[i]);
     }
 }


More information about the parrot-commits mailing list