Show
Ignore:
Timestamp:
06/07/12 22:02:43 (12 months ago)
Author:
cameron
Message:

Fix bug with empty argument lists

Files:
1 modified

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):