[Synopsis-changes] Synopsis/Synopsis/Synopsis/Linker EmptyNS.py,1.2,1.3
Stefan Seefeld stefan at synopsis.fresco.orgTue Nov 11 04:51:20 UTC 2003
- Previous message: [Synopsis-changes] Synopsis/Synopsis/Synopsis/Parser/Python Parser.py,1.2,1.3
- Next message: [Synopsis-changes] Synopsis/Synopsis/Synopsis/Formatter/HTML Formatter.py,NONE,1.1 __init__.py,1.6,1.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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()
- Previous message: [Synopsis-changes] Synopsis/Synopsis/Synopsis/Parser/Python Parser.py,1.2,1.3
- Next message: [Synopsis-changes] Synopsis/Synopsis/Synopsis/Formatter/HTML Formatter.py,NONE,1.1 __init__.py,1.6,1.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Synopsis-changes mailing list