From: <bl...@us...> - 2003-04-30 22:15:54
|
Update of /cvsroot/cpptool/rfta/src/rftaparser In directory sc8-pr-cvs1:/tmp/cvs-serv7610/src/rftaparser Modified Files: DeclarationParser.cpp Log Message: * refactored a bit Index: DeclarationParser.cpp =================================================================== RCS file: /cvsroot/cpptool/rfta/src/rftaparser/DeclarationParser.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** DeclarationParser.cpp 29 Apr 2003 10:03:30 -0000 1.6 --- DeclarationParser.cpp 30 Apr 2003 22:15:49 -0000 1.7 *************** *** 129,133 **** skipSpaces(); ! if (!hasNext()) return false; int startIndex = getCurrentIndex(); --- 129,134 ---- skipSpaces(); ! if ( !hasNext() ) ! return false; int startIndex = getCurrentIndex(); *************** *** 138,142 **** std::string identifier; - if (tryReadNextIdentifier(identifier)) { --- 139,142 ---- *************** *** 220,224 **** break; ! } while (1); /* if (*current_=='y') // special case 'try-function-body' --- 220,224 ---- break; ! } while ( true ); /* if (*current_=='y') // special case 'try-function-body' |