From: <bl...@us...> - 2003-05-16 19:55:06
|
Update of /cvsroot/cpptool/rfta/src/rftaparser In directory sc8-pr-cvs1:/tmp/cvs-serv32133/src/rftaparser Modified Files: CPPParserTest.cpp Log Message: * Made the interface of TextDocument simpler. It now has only 3 methods: getAllText(), getTextRange() and replaceTextRange(). Index: CPPParserTest.cpp =================================================================== RCS file: /cvsroot/cpptool/rfta/src/rftaparser/CPPParserTest.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CPPParserTest.cpp 4 May 2003 06:56:47 -0000 1.3 --- CPPParserTest.cpp 16 May 2003 19:55:02 -0000 1.4 *************** *** 111,119 **** CPPParserTest::testParseAllEnumDeclaration() { const std::string source( "enum X {\n" " FirstID = 7000\n" "};" ); ! CPPParser parser( source ); parser.parseAll(); --- 111,128 ---- CPPParserTest::testParseAllEnumDeclaration() { + const std::string source( "enum X {\n" " FirstID = 7000\n" "};" ); ! ! /* ! const std::string source( ! " class wxGenericDirCtrl {" ! "wxGenericDirCtrl(wxWindow *parent, const wxWindowID id = -1 )\n" ! "{\n" ! "}\n" ! "};" ); ! */ CPPParser parser( source ); parser.parseAll(); |