Cpp11 compability steps.
-Changed coding style to not have exception specifications. -Changed autogenerated Lexer code to not have exception specifications.
This commit is contained in:
parent
b304dafc5b
commit
8590a22995
|
@ -298,7 +298,7 @@ public:
|
|||
* @return ${enum}::T - the type of token found next.
|
||||
* @throw IO_ERROR - only if the LINE_READER throws it.
|
||||
*/
|
||||
${enum}::T NextTok() throw( IO_ERROR )
|
||||
${enum}::T NextTok()
|
||||
{
|
||||
return (${enum}::T) DSNLEXER::NextTok();
|
||||
}
|
||||
|
@ -311,7 +311,7 @@ public:
|
|||
* @return int - the actual token read in.
|
||||
* @throw IO_ERROR, if the next token does not satisfy IsSymbol()
|
||||
*/
|
||||
${enum}::T NeedSYMBOL() throw( IO_ERROR )
|
||||
${enum}::T NeedSYMBOL()
|
||||
{
|
||||
return (${enum}::T) DSNLEXER::NeedSYMBOL();
|
||||
}
|
||||
|
@ -324,7 +324,7 @@ public:
|
|||
* @return int - the actual token read in.
|
||||
* @throw IO_ERROR, if the next token does not satisfy the above test
|
||||
*/
|
||||
${enum}::T NeedSYMBOLorNUMBER() throw( IO_ERROR )
|
||||
${enum}::T NeedSYMBOLorNUMBER()
|
||||
{
|
||||
return (${enum}::T) DSNLEXER::NeedSYMBOLorNUMBER();
|
||||
}
|
||||
|
|
|
@ -223,7 +223,7 @@ leading sentence in the doxygen html output. The chosen format is
|
|||
* @throw IO_ERROR, if there is a problem outputting, such asisk.
|
||||
*/
|
||||
int PRINTF_FUNC Print( int nestLevel,
|
||||
const char* fmt, ... ) throw( IO_ERROR );
|
||||
const char* fmt, ... )
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
The “Function \<name\>” text goes on the 2nd line of the comment. The
|
||||
|
@ -626,7 +626,7 @@ below was taken directly from the KiCad source.
|
|||
* @return int - The number of bytes read, 0 at end of file.
|
||||
* @throw IOError only when a line is too long.
|
||||
*/
|
||||
int ReadLine() throw (IOError);
|
||||
int ReadLine();
|
||||
|
||||
operator char* ()
|
||||
{
|
||||
|
@ -685,7 +685,7 @@ below was taken directly from the KiCad source.
|
|||
* @return int - the number of characters output.
|
||||
* @throw IOError, if there is a problem outputting, such as a full disk.
|
||||
*/
|
||||
virtual int PRINTF_FUNC Print( int nestLevel, const char* fmt, ... ) throw( IOError ) = 0;
|
||||
virtual int PRINTF_FUNC Print( int nestLevel, const char* fmt, ... ) = 0;
|
||||
|
||||
/*/** */*
|
||||
* Function GetQuoteChar
|
||||
|
@ -771,7 +771,7 @@ below was taken directly from the KiCad source.
|
|||
|
||||
|
||||
//-----<OUTPUTFORMATTER>------------------------------------------------
|
||||
int PRINTF_FUNC Print( int nestLevel, const char* fmt, ... ) throw( IOError );
|
||||
int PRINTF_FUNC Print( int nestLevel, const char* fmt, ... );
|
||||
const char* GetQuoteChar( const char* wrapee );
|
||||
//-----</OUTPUTFORMATTER>-----------------------------------------------
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue