[Synopsis-changes] Synopsis/Synopsis/Synopsis/dist/command build_doc.py,1.3,1.4 config.py,1.4,1.5

Stefan Seefeld stefan at synopsis.fresco.org
Wed Nov 5 01:57:03 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/dist/command
In directory frida:/tmp/cvs-serv10236/Synopsis/dist/command

Modified Files:
	build_doc.py config.py 
Log Message:
rename C++ -> Cxx

Index: build_doc.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/dist/command/build_doc.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -d -r1.3 -r1.4
--- build_doc.py	9 Oct 2003 20:30:08 -0000	1.3
+++ build_doc.py	5 Nov 2003 01:57:00 -0000	1.4
@@ -82,7 +82,7 @@ class build_doc(build.build):
                            filter(lambda f, re=py: re.match(f), names)))
         def add_cxx(arg, dirname, names):
             # only parse the C++ parser for now
-            if dirname[:19] != 'Synopsis/Parser/C++':
+            if dirname[:19] != 'Synopsis/Parser/Cxx':
                 return
             arg.extend(map(lambda f, d=dirname: os.path.join(d, f),
                            filter(lambda f, re=cxx: re.match(f), names)))
@@ -106,7 +106,7 @@ class build_doc(build.build):
         py_syn = Target(self, synopsis + " -o %(output)s %(input)s", py_syns,
                         output='py.syn', input=map(lambda f:re.sub('\.py$', '.syn', f),
                                                    py_sources))
-        command = synopsis + " -I ../../Synopsis/Parser/C++ -I ../../Synopsis/Parser/C++/gc/include -I " + sysconfig.get_python_inc()
+        command = synopsis + " -I ../../Synopsis/Parser/Cxx -I ../../Synopsis/Parser/CXX/gc/include -I " + sysconfig.get_python_inc()
         command += " -Wc,parser=C++,linker=C++ -Wp,-s,syn/%s-links,%s"
         cxx_syns = map(lambda f,s=self:Target(s, command%(f[0], f[1]) + " -o %(output)s %(input)s", [],
                                               output=f[0] + ".syn",
@@ -123,7 +123,7 @@ class build_doc(build.build):
                                [py_syn], output="core-type.syn", input=['py.syn'])
         core_util_syn = Target(self, synopsis + " -Wc,linker=All -Wl,-s,'Synopsis::Core::Util' -o %(output)s %(input)%",
                                [py_syn], output="core-util.syn", input=['py.syn'])
-        parser_cxx_py_syn = Target(self, synopsis + " -Wc,linker=All -Wl,-s,'Synopsis::Parser::C++' -o %(output)s %(input)%",
+        parser_cxx_py_syn = Target(self, synopsis + " -Wc,linker=All -Wl,-s,'Synopsis::Parser::Cxx' -o %(output)s %(input)%",
                                    [py_syn], output="parser-c++-py.syn", input=['py.syn'])
         parser_cxx_cpp_syn = Target(self, synopsis + " -Wc,linker=All -o %(output)s %(input)%",
                                     [py_syn], output="parser-c++-cpp.syn", input=['py.syn'])

Index: config.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/dist/command/config.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -d -r1.4 -r1.5
--- config.py	21 Sep 2003 19:56:46 -0000	1.4
+++ config.py	5 Nov 2003 01:57:00 -0000	1.5
@@ -44,7 +44,7 @@ class config(build.build):
         for ext in self.extensions:
             self.config_extension(ext)
         if not self.disable_gc:
-            self.config_extension('Synopsis/Parser/C++/gc')
+            self.config_extension('Synopsis/Parser/Cxx/gc')
             
     def config_extension(self, ext):
 
@@ -61,7 +61,7 @@ class config(build.build):
         os.chdir(tempdir)
 
         command = "%s/configure --with-python=%s"%(srcdir, sys.executable)
-        if ext == 'Synopsis/Parser/C++' and self.disable_gc:
+        if ext == 'Synopsis/Parser/Cxx' and self.disable_gc:
             command += ' --disable-gc'
         self.announce(command)
         spawn(['sh', '-c', command], self.verbose, self.dry_run)





More information about the Synopsis-changes mailing list