[Synopsis-changes] Synopsis/Synopsis/demo/Perceps synopsis.py,1.3,1.4

Stefan Seefeld stefan at synopsis.fresco.org
Fri Dec 5 22:39:52 UTC 2003


Update of /cvs/synopsis/Synopsis/demo/Perceps
In directory frida:/tmp/cvs-serv31906/demo/Perceps

Modified Files:
	synopsis.py 
Log Message:
adapt script to latest refactorings in the HTML formatter

Index: synopsis.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/demo/Perceps/synopsis.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -d -r1.3 -r1.4
--- synopsis.py	2 Dec 2003 16:20:29 -0000	1.3
+++ synopsis.py	5 Dec 2003 22:39:50 -0000	1.4
@@ -6,7 +6,8 @@ from Synopsis.Processor import *
 from Synopsis.Processors import *
 from Synopsis.Parsers import Cxx
 from Synopsis.Formatters import HTML
-from Synopsis.Formatters.HTML.CommentFormatter import *
+from Synopsis.Formatters.HTML import *
+from Synopsis.Formatters.HTML import Comments
 
 import re, string
 
@@ -123,12 +124,12 @@ linker = Linker(Stripper(),
                 AccessRestrictor())
 
 html = HTML.Formatter(stylesheet_file = '../html.css',
-                      comment_formatters = [JavadocFormatter(),
-                                            SectionFormatter()])
+                      comment_formatters = [Comments.Javadoc(),
+                                            Comments.Section()])
 
 doxygen = HTML.Formatter(stylesheet_file = '../doxygen.css',
-                         comment_formatters = [JavadocFormatter(),
-                                               SectionFormatter()])
+                         comment_formatters = [Comments.Javadoc(),
+                                               Comments.Section()])
 
 process(parse = Cxx.Parser(),
         link = linker,





More information about the Synopsis-changes mailing list