[Synopsis-changes] Synopsis/Synopsis/Synopsis/Parser/C++/syn swalker.cc,1.74,1.75

Stefan Seefeld stefan at synopsis.fresco.org
Mon Oct 13 01:15:11 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/Parser/C++/syn
In directory frida:/tmp/cvs-serv8534/Synopsis/Parser/C++/syn

Modified Files:
	swalker.cc 
Log Message:
Translate one node at a time, not the concatenated list.

Index: swalker.cc
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Parser/C++/syn/swalker.cc,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -p -d -r1.74 -r1.75
--- swalker.cc	23 Dec 2002 13:47:36 -0000	1.74
+++ swalker.cc	13 Oct 2003 01:15:09 -0000	1.75
@@ -25,6 +25,9 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.75  2003/10/13 01:15:09  stefan
+// Translate one node at a time, not the concatenated list.
+//
 // Revision 1.74  2002/12/23 13:47:36  chalky
 // Reset namespace filenames for each namespace declaration.
 //
@@ -1225,7 +1228,7 @@ SWalker::TranslateFunctionDeclarator(Ptr
     Ptree* p = Ptree::First(m_declaration);
     while (p)
     {
-        premod.push_back(p->ToString());
+        premod.push_back(p->Car()->ToString());
         p = Ptree::Rest(p);
     }
 





More information about the Synopsis-changes mailing list