diff python/c3/astnodes.py @ 217:8b2e5f3cd579

Removed some stale python source files
author Windel Bouwman
date Fri, 05 Jul 2013 14:13:59 +0200
parents c1ccb1cb4cef
children 3f6c30a5d234
line wrap: on
line diff
--- a/python/c3/astnodes.py	Fri Jul 05 13:26:51 2013 +0200
+++ b/python/c3/astnodes.py	Fri Jul 05 14:13:59 2013 +0200
@@ -98,7 +98,7 @@
       self.isReadOnly = False
       self.isParameter = False
    def __repr__(self):
-      return '{}'.format(self.name)
+      return 'Var {}'.format(self.name)
 
 # Procedure types
 class Function(Symbol):
@@ -109,7 +109,7 @@
         self.declarations = []
 
     def __repr__(self):
-        return '{}'.format(self.name)
+        return 'Func {}'.format(self.name)
 
 # Operations / Expressions:
 class Unop(Node):