[Synopsis-cvs] Synopsis/Synopsis/Synopsis/Parser/C++/syn occ.cc,1.86,1.87

Stefan Seefeld stefan at users.sourceforge.net
Fri Mar 21 13:32:02 UTC 2003


Update of /cvsroot/synopsis/Synopsis/Synopsis/Parser/C++/syn
In directory sc8-pr-cvs1:/tmp/cvs-serv6452/Synopsis/Parser/C++/syn

Modified Files:
	occ.cc 
Log Message:
a fix to the fix...

Index: occ.cc
===================================================================
RCS file: /cvsroot/synopsis/Synopsis/Synopsis/Parser/C++/syn/occ.cc,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -p -d -r1.86 -r1.87
--- occ.cc	14 Mar 2003 17:09:50 -0000	1.86
+++ occ.cc	21 Mar 2003 21:31:23 -0000	1.87
@@ -24,6 +24,9 @@
 // 02111-1307, USA.
 
 // $Log$
+// Revision 1.87  2003/03/21 21:31:23  stefan
+// a fix to the fix...
+//
 // Revision 1.86  2003/03/14 17:09:50  stefan
 // separate command and arguments in CC variable
 //
@@ -476,7 +479,7 @@ char *RunPreprocessor(const char *file, 
           {
              args.push_back("cpp");
           }
-          std::copy(flags.begin(), flags.end(), args.begin());
+          args.insert(args.end(), flags.begin(), flags.end());
           args.push_back("-C"); // keep comments
           args.push_back("-E"); // stop after preprocessing
           args.push_back("-o"); // output to...






More information about the Synopsis-changes mailing list