[Synopsis-changes] Synopsis/Synopsis/Synopsis/Parsers/Cxx/syn ast.hh,1.22,1.23 occ.cc,1.90,1.91 synopsis.cc,1.48,1.49

Stefan Seefeld stefan at synopsis.fresco.org
Tue Nov 11 06:01:48 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/Parsers/Cxx/syn
In directory frida:/tmp/cvs-serv11207/Synopsis/Parsers/Cxx/syn

Modified Files:
	ast.hh occ.cc synopsis.cc 
Log Message:
adjust to directory/package layout changes

Index: ast.hh
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Parsers/Cxx/syn/ast.hh,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -d -r1.22 -r1.23
--- ast.hh	27 Jan 2003 06:53:36 -0000	1.22
+++ ast.hh	11 Nov 2003 06:01:45 -0000	1.23
@@ -24,7 +24,7 @@
 // vim: set ts=8 sts=2 sw=2 et:
 // File: ast.h
 // A C++ class hierarchy that more or less mirrors the AST hierarchy in
-// Python/Core.AST.
+// Python/AST.
 
 #ifndef H_SYNOPSIS_CPP_AST
 #define H_SYNOPSIS_CPP_AST

Index: occ.cc
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Parsers/Cxx/syn/occ.cc,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -p -d -r1.90 -r1.91
--- occ.cc	5 Nov 2003 19:52:24 -0000	1.90
+++ occ.cc	11 Nov 2003 06:01:45 -0000	1.91
@@ -24,6 +24,9 @@
 // 02111-1307, USA.
 
 // $Log$
+// Revision 1.91  2003/11/11 06:01:45  stefan
+// adjust to directory/package layout changes
+//
 // Revision 1.90  2003/11/05 19:52:24  stefan
 // forgot support for emulate_compiler...
 //
@@ -201,7 +204,7 @@ void unexpected()
 //. add to the args vector.
 void emulate_compiler(std::vector<const char*>& args)
 {
-    PyObject* emul_module = PyImport_ImportModule("Synopsis.Parser.Cxx.emul");
+    PyObject* emul_module = PyImport_ImportModule("Synopsis.Parsers.Cxx.emul");
     if (!emul_module)
         return;
     PyObject* info = PyObject_CallMethod(emul_module, "get_compiler_info", "s", syn_emulate_compiler);
@@ -740,9 +743,9 @@ int main(int argc, char **argv)
         std::cerr << "Usage: " << argv[0] << " <filename>" << std::endl;
         exit(-1);
     }
-    PyObject* ast_module = PyImport_ImportModule("Synopsis.Core.AST");
+    PyObject* ast_module = PyImport_ImportModule("Synopsis.AST");
     PyObject* ast = PyObject_CallMethod(ast_module, "AST", 0);
-    PyObject* type = PyImport_ImportModule("Synopsis.Core.Type");
+    PyObject* type = PyImport_ImportModule("Synopsis.Type");
     PyObject* types = PyObject_CallMethod(type, "Dictionary", 0);
     PyObject* decls = PyList_New(0);
     

Index: synopsis.cc
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Parsers/Cxx/syn/synopsis.cc,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -p -d -r1.48 -r1.49
--- synopsis.cc	27 Jan 2003 06:53:37 -0000	1.48
+++ synopsis.cc	11 Nov 2003 06:01:45 -0000	1.49
@@ -23,6 +23,9 @@
 // 02111-1307, USA.
 
 // $Log$
+// Revision 1.49  2003/11/11 06:01:45  stefan
+// adjust to directory/package layout changes
+//
 // Revision 1.48  2003/01/27 06:53:37  chalky
 // Added macro support for C++.
 //
@@ -364,9 +367,9 @@ Synopsis::Synopsis(FileFilter* filter, P
         : m_declarations(decl), m_dictionary(dict), m_filter(filter)
 {
     Trace trace("Synopsis::Synopsis");
-    m_ast  = PyImport_ImportModule("Synopsis.Core.AST");
+    m_ast  = PyImport_ImportModule("Synopsis.AST");
     assertObject(m_ast);
-    m_type = PyImport_ImportModule("Synopsis.Core.Type");
+    m_type = PyImport_ImportModule("Synopsis.Type");
     assertObject(m_type);
 
     m = new Private(this);





More information about the Synopsis-changes mailing list