lang: fix nested template. closes #513

This commit is contained in:
Mathieu Virbel 2012-07-04 19:02:52 +02:00
parent 80a33fbfe9
commit ac282ee219
1 changed files with 2 additions and 0 deletions

View File

@ -1231,6 +1231,8 @@ class BuilderBase(object):
ctx = {}
idmap = copy(global_idmap)
idmap.update({'root': rctx['ids']['root']})
if 'ctx' in rctx['ids']:
idmap.update({'ctx': rctx['ids']['ctx']})
try:
for prule in crule.properties.itervalues():
value = prule.co_value