[Synopsis-changes] Synopsis/Synopsis/Synopsis/Linker EmptyNS.py,1.2,1.3

Stefan Seefeld stefan at synopsis.fresco.org
Tue Nov 11 04:51:20 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/Linker
In directory frida:/tmp/cvs-serv9397/Synopsis/Linker

Modified Files:
	EmptyNS.py 
Log Message:
remove debug output

Index: EmptyNS.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Linker/EmptyNS.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -d -r1.2 -r1.3
--- EmptyNS.py	11 Nov 2003 02:57:57 -0000	1.2
+++ EmptyNS.py	11 Nov 2003 04:51:17 -0000	1.3
@@ -51,7 +51,6 @@ class EmptyNS (Processor, AST.Visitor):
 
    def add(self, decl):
       """Adds the given decl to the current scope"""
-      print 'add %s', decl
       self.__currscope.append(decl)
 
    def currscope(self):
@@ -76,16 +75,11 @@ class EmptyNS (Processor, AST.Visitor):
    def visitModule(self, module):
       """Visits all children of the module, and if there are no declarations
       after that removes the module"""
-      print 'visiting module', module
       self.push()
-      print 'module contains', len(module.declarations()), 'declarations'
       for decl in module.declarations():
-         print decl.name(), decl.type()
          decl.accept(self)
       module.declarations()[:] = self.currscope()
       count = self._count_not_forwards(self.currscope())
-      #print string.join(module.name(),'::'),"%d (%d)"%(len(self.currscope()),count),"children"
-      print module, 'has ', count, 'declarations'
       if count: self.pop(module)
       else: self.pop_only()
 





More information about the Synopsis-changes mailing list