[svn:parrot] r46686 - trunk/compilers/imcc
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Sat May 15 21:39:02 UTC 2010
Author: NotFound
Date: Sat May 15 21:39:01 2010
New Revision: 46686
URL: https://trac.parrot.org/parrot/changeset/46686
Log:
fix C89 violation from r46684
Modified:
trunk/compilers/imcc/pbc.c
Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c Sat May 15 21:36:45 2010 (r46685)
+++ trunk/compilers/imcc/pbc.c Sat May 15 21:39:01 2010 (r46686)
@@ -1277,6 +1277,8 @@
int ns_const = -1;
if (unit->_namespace) {
+ SymReg * const ns = unit->_namespace->reg;
+
/* strip namespace off from front */
static const char ns_sep[] = "@@@";
@@ -1291,8 +1293,6 @@
real_name += 3;
}
- SymReg * const ns = unit->_namespace->reg;
-
IMCC_debug(interp, DEBUG_PBC_CONST,
"name space const = %d ns name '%s'\n", ns->color, ns->name);
More information about the parrot-commits
mailing list