[Synopsis-changes] Synopsis/Synopsis/demo/C++/Boost synopsis.py,1.6,1.7

Stefan Seefeld stefan at synopsis.fresco.org
Thu Dec 4 01:14:37 UTC 2003


Update of /cvs/synopsis/Synopsis/demo/C++/Boost
In directory frida:/tmp/cvs-serv12866/demo/C++/Boost

Modified Files:
	synopsis.py 
Log Message:
cleanup

Index: synopsis.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/demo/C++/Boost/synopsis.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -d -r1.6 -r1.7
--- synopsis.py	2 Dec 2003 16:20:29 -0000	1.6
+++ synopsis.py	4 Dec 2003 01:14:35 -0000	1.7
@@ -22,7 +22,6 @@ parser = Cxx.Parser(cppflags = ['-DPYTHO
                     main_file_only = True,
                     syntax_prefix = 'links/',
                     xref_prefix = 'xref/',
-                    extract_tails = True,
                     emulate_compiler = 'g++',
                     # 'extra_files' will go away shortly
                     extra_files = extra_input)
@@ -30,18 +29,15 @@ parser = Cxx.Parser(cppflags = ['-DPYTHO
 xref = XRefCompiler(prefix='xref/')    # compile xref dictionary
 
 
-linker = Linker(Stripper(),         # strip prefix (see Linker.Stripper.Stripper docs)
-                NameMapper(),       # apply name mapping if any (prefix adding, etc.)
-                SSComments(),       # filter out any non-'//' comments
+linker = Linker(SSComments(),       # filter out any non-'//' comments
                 Grouper2(),         # group declarations according to '@group' tags
-                CommentStripper(),  # strip any 'suspicious' comments
                 Previous(),         # attach '//<' comments
+                CommentStripper(),  # strip any 'suspicious' comments
                 AccessRestrictor()) # filter out unwanted ('private', say) declarations
 
 formatter = HTML.Formatter(stylesheet_file = '../../html.css')
 
-process(parse2 = parser,
-        parse = Composite(parser, linker),
+process(parse = Composite(parser, linker),
         xref = xref,
         link = linker,
         format = formatter)





More information about the Synopsis-changes mailing list