Changeset 2100 for proto/Compiler


Ignore:
Timestamp:
May 12, 2012, 7:32:04 PM (7 years ago)
Author:
cameron
Message:

Reverse args for error routine - xmlwf compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablo.py

    r2099 r2100  
    527527                err_code = node.value.args[1]
    528528                return ast.If(err_stream,
    529                               [ast.Expr(mkCall(self.assert_routine, [err_stream, err_code]))],
     529                              [ast.Expr(mkCall(self.assert_routine, [err_code, err_stream]))],
    530530                              [])
    531531        else: return node
Note: See TracChangeset for help on using the changeset viewer.