Update of /cvsroot/cpptool/rfta/src/rfta
In directory sc8-pr-cvs1:/tmp/cvs-serv16037/src/rfta
Modified Files:
InlineTempRefactoring.cpp
Log Message:
-- corrected 'todo' string
Index: InlineTempRefactoring.cpp
===================================================================
RCS file: /cvsroot/cpptool/rfta/src/rfta/InlineTempRefactoring.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** InlineTempRefactoring.cpp 27 Apr 2003 22:02:02 -0000 1.8
--- InlineTempRefactoring.cpp 15 May 2003 16:26:29 -0000 1.9
***************
*** 99,104 ****
catch (ParserError e)
{
! // tried to parse outside a function body ?
! // TODO: is this change of the exception ok ? (AndreBaresel)
throw RefactoringError( RefactoringError::identifierIsNotLocalVariable);
}
--- 99,104 ----
catch (ParserError e)
{
! // currently we detect the function body by this parser error.
! // @todo rearrange the parser so that only a function body will be parsed...
throw RefactoringError( RefactoringError::identifierIsNotLocalVariable);
}
|