class Literal(Type):
- def __init__(self, expr, format, base=10):
+ def __init__(self, expr, format):
Type.__init__(self, expr)
self.format = format
class Function:
- __id = 0
+ # 0-3 are reserved to memcpy, malloc, free, and realloc
+ __id = 4
def __init__(self, type, name, args, call = '', fail = None, sideeffects=True):
self.id = Function.__id