Author: bernhard
Date: Tue May 1 10:59:52 2007
New Revision: 18375
Modified:
trunk/compilers/imcc/imcc.y
trunk/compilers/imcc/imcparser.c
trunk/compilers/imcc/parser_util.c
trunk/compilers/imcc/symreg.c
Log:
#42385: [TODO] imcc - remove global variable: cur_namespace
Remove commented out "SymReg *cur_namespace".
Modified: trunk/compilers/imcc/imcc.y
==============================================================================
--- trunk/compilers/imcc/imcc.y (original)
+++ trunk/compilers/imcc/imcc.y Tue May 1 10:59:52 2007
@@ -5,7 +5,7 @@
* Intermediate Code Compiler for Parrot.
*
* Copyright (C) 2002 Melvin Smith <[EMAIL PROTECTED]>
- * Copyright (C) 2002-2006, The Perl Foundation.
+ * Copyright (C) 2002-2007, The Perl Foundation.
*
* Grammar for the parser.
*
@@ -41,12 +41,6 @@
/*
- * Some convenient vars
- */
-/* RT#42385: Remove this global variable... */
-/* SymReg *cur_namespace; ugly hack for mk_address */
-
-/*
* MK_I: build and emitb instruction by INS
*
* fmt may contain:
Modified: trunk/compilers/imcc/imcparser.c
==============================================================================
--- trunk/compilers/imcc/imcparser.c (original)
+++ trunk/compilers/imcc/imcparser.c Tue May 1 10:59:52 2007
@@ -352,12 +352,6 @@
/*
- * Some convenient vars
- */
-/* RT#42385: Remove this global variable... */
-/* SymReg *cur_namespace; ugly hack for mk_address */
-
-/*
* MK_I: build and emitb instruction by INS
*
* fmt may contain:
Modified: trunk/compilers/imcc/parser_util.c
==============================================================================
--- trunk/compilers/imcc/parser_util.c (original)
+++ trunk/compilers/imcc/parser_util.c Tue May 1 10:59:52 2007
@@ -573,7 +573,6 @@
*
*/
extern void* yy_scan_string(const char *);
-/* extern SymReg *cur_namespace; -- s. imcc.y */
int
Modified: trunk/compilers/imcc/symreg.c
==============================================================================
--- trunk/compilers/imcc/symreg.c (original)
+++ trunk/compilers/imcc/symreg.c Tue May 1 10:59:52 2007
@@ -400,8 +400,6 @@
return _mk_const(h, name, t);
}
-/*extern SymReg *cur_namespace; -- ugly hack for mk_address */
-
/*
* add namespace to sub if any
* */