Ignore:
Timestamp:
Mar 11, 2011, 11:06:02 AM (8 years ago)
Author:
cameron
Message:

Add processing for @final_block_stmts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/compiler2.py

    r889 r937  
    1717        self.output_file = output_file
    1818
    19     def output(self, globaldecl, localdecl, stream_stmts , block_stmts, any_carry_expr, template_string):
     19    def output(self, globaldecl, localdecl, stream_stmts, block_stmts, final_block_stmts, any_carry_expr, template_string):
    2020        template_string = string.replace(template_string, '@global', globaldecl)
    2121        template_string = string.replace(template_string, '@decl', localdecl)
    2222        template_string = string.replace(template_string, '@stream_stmts', stream_stmts)
    2323        template_string = string.replace(template_string, '@block_stmts', block_stmts)
     24        template_string = string.replace(template_string, '@final_block_stmts', final_block_stmts)
    2425        template_string = string.replace(template_string, '@any_carry', any_carry_expr)
    2526        return template_string
     
    5556                            xfrmr.Cinits,
    5657                            xfrmr.Cstmts,
     58                            xfrmr.Cfinal_stmts,
    5759                            xfrmr.any_carry_expr(),
    5860                            template_contents)
Note: See TracChangeset for help on using the changeset viewer.