Changeset 2217 for proto


Ignore:
Timestamp:
Jun 7, 2012, 10:02:43 PM (7 years ago)
Author:
cameron
Message:

Fix bug with empty argument lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablo.py

    r2215 r2217  
    6464  def visit_Call(self, callnode):
    6565    self.generic_visit(callnode)
     66    if len(callnode.args) == 0: return callnode
    6667    if not isinstance(callnode.args[0], ast.Call): return callnode
    6768    if is_BuiltIn_Call(callnode,'Advance', 1):
Note: See TracChangeset for help on using the changeset viewer.