Ignore:
Timestamp:
Mar 10, 2012, 1:36:53 PM (7 years ago)
Author:
cameron
Message:

Use .do_block/.do_final_block for all calls in main

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablo.py

    r1917 r1957  
    466466        self.generic_visit(node)
    467467
    468         if isinstance(node, ast.Call) and isinstance(node.func, ast.Name) and node.func.id in self.stream_function_type_names:
     468        if isinstance(node, ast.Call) and isinstance(node.func, ast.Name):# and node.func.id in self.stream_function_type_names:
    469469             name = lower1(node.func.id)
    470470             node.func.id = name + ("_" if self.C_syntax else ".") + ("do_final_block" if self.xlate_type == "final" else "do_block")
Note: See TracChangeset for help on using the changeset viewer.