Author: masak
Date: Sat Nov 8 14:10:29 2008
New Revision: 32455
Modified:
trunk/compilers/pct/src/PAST/Compiler.pir
Log:
[PAST] fixed bug that caused variables not to be recognized at compile-time [RT
#60304]
patch courtesy of Vasily Chekalkin (bacek++)
Modified: trunk/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Compiler.pir (original)
+++ trunk/compilers/pct/src/PAST/Compiler.pir Sat Nov 8 14:10:29 2008
@@ -1644,11 +1644,12 @@
scope = $P0['scope']
unless scope goto scope_error
have_scope:
- push_eh scope_error
+ push_eh scope_error_ex
$P0 = find_method self, scope
.return self.$P0(node, bindpost)
- scope_error:
+ scope_error_ex:
pop_eh
+ scope_error:
unless scope goto scope_error_1
scope = concat " '", scope
scope = concat scope, "'"