Author: jonathan
Date: Tue Nov 11 08:27:42 2008
New Revision: 32544
Modified:
trunk/compilers/pct/src/PAST/Compiler.pir
Log:
[PCT] Fix to code generation when we have a namespace supplied as an empty
array.
Modified: trunk/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Compiler.pir (original)
+++ trunk/compilers/pct/src/PAST/Compiler.pir Tue Nov 11 08:27:42 2008
@@ -668,8 +668,7 @@
## determine name and namespace
name = self.'escape'(name)
- $I0 = defined ns
- unless $I0 goto have_ns_key
+ unless ns goto have_ns_key
$P0 = get_global '%!codestring'
ns = $P0.'key'(ns)
have_ns_key: