Changeset 1864


Ignore:
Timestamp:
Jan 20, 2012, 8:34:21 PM (8 years ago)
Author:
cameron
Message:

Remove Xerces

Location:
proto
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablo.py

    r1849 r1864  
    1515        elif isinstance(fncall.func, ast.Attribute) and isinstance(fncall.func.value, ast.Name):
    1616                 iscall = fncall.func.value.id == builtin_fnmod_noprefix and fncall.func.attr == builtin_fnname
    17         return iscall and len(fncall.args) == builtin_arg_cnt and fncall.kwargs == None and fncall.starargs == None
     17        return iscall and len(fncall.args) == builtin_arg_cnt
     18
     19def dump_Call(fncall):
     20        if isinstance(fncall.func, ast.Name): print "fn_name = %s\n" % fncall.func.id
     21        elif isinstance(fncall.func, ast.Attribute) and isinstance(fncall.func.value, ast.Name):
     22                print "fn_name = %s.%s\n" % (fncall.func.value.id, fncall.func.attr)
     23        print "len(fncall.args) = %s\n" % len(fncall.args)
    1824
    1925def is_simd_not(e):
     
    286292                                           ast.Name(callnode.args[1].id, ast.Load())])
    287293      return c
    288     else: return callnode
     294    else:
     295      dump_Call(callnode)
     296      return callnode
    289297  def visit_BinOp(self, exprnode):
    290298    self.generic_visit(exprnode)
  • proto/parabix2/src/LineColTracker.hpp

    r1620 r1864  
    7676  if (bitblock::any(cur_newline))
    7777    column = pos_in_block - (BLOCK_SIZE-count_reverse_zeroes(cur_newline))+1;
     78        fprintf(stderr, "pos_in_block=%i\n", pos_in_block);
     79        fprintf(stderr, "column=%i\n", column);
    7880  else
    7981    column = BLOCK_SIZE*blocks_after_last_newline_block +
Note: See TracChangeset for help on using the changeset viewer.