[Synopsis-changes] Synopsis/Synopsis/demo/IDL Makefile,1.16,1.17 synopsis.py,1.1,1.2

Stefan Seefeld stefan at synopsis.fresco.org
Sat Nov 22 21:49:30 UTC 2003


Update of /cvs/synopsis/Synopsis/demo/IDL
In directory frida:/tmp/cvs-serv27977/demo/IDL

Modified Files:
	Makefile synopsis.py 
Log Message:
replace Unduplicator by Linker

Index: Makefile
===================================================================
RCS file: /cvs/synopsis/Synopsis/demo/IDL/Makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -d -r1.16 -r1.17
--- Makefile	18 Nov 2003 21:32:19 -0000	1.16
+++ Makefile	22 Nov 2003 21:49:28 -0000	1.17
@@ -1,8 +1,6 @@
 synopsis := python synopsis.py
 
-#-Wc,parser=IDL,linker=Linker,formatter=HTML
-
-all: html
+all: CosNaming Types Graphic Input html
 
 html: tmp.syn
 	$(synopsis) format --output=$@ $?
@@ -12,6 +10,9 @@ tmp.syn:	CosNaming.syn Types.syn Graphic
 
 %.syn: %.idl
 	$(synopsis) parse --output=$@ $?
+
+%: %.syn
+	$(synopsis) format --output=$@ $?
 
 clean:
 	rm -fr *.syn *~

Index: synopsis.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/demo/IDL/synopsis.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -d -r1.1 -r1.2
--- synopsis.py	18 Nov 2003 21:32:19 -0000	1.1
+++ synopsis.py	22 Nov 2003 21:49:28 -0000	1.2
@@ -9,8 +9,7 @@ from Synopsis.Formatters.HTML.TreeFormat
 
 parser = IDL.Parser(include_paths=['.'])
 
-linker = Composite(Unduplicator(),     # remove duplicate and forward declarations
-                   SSDComments())      # filter out any non-'//.' comments
+linker = Linker(SSDComments())      # filter out any non-'//.' comments
 
 format = HTML.Formatter(stylesheet_file = '../html.css',
                         tree_formatter = TreeFormatterJS())





More information about the Synopsis-changes mailing list