/[opental]/opental/OpenTAL/metal_handler.py
ViewVC logotype

Diff of /opental/OpenTAL/metal_handler.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by lalo, Thu Feb 20 10:37:41 2003 UTC revision 1.18 by lalo, Fri Feb 21 05:07:02 2003 UTC
# Line 98  def handle_use_macro(element, context, v Line 98  def handle_use_macro(element, context, v
98          [a for a in macro.children]          [a for a in macro.children]
99      except:      except:
100          raise MetalError, ('trying to use an incompatible object as a macro: ' +          raise MetalError, ('trying to use an incompatible object as a macro: ' +
101                             repr(value))                             repr(macro))
102      if hasattr(context, 'getDefault') and macro is context.getDefault():      if hasattr(context, 'getDefault') and macro is context.getDefault():
103          return element          return element
104      context.metal_slot_stack[-1] = fish_slots(element)      context.metal_slot_stack[-1] = fish_slots(element)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26