Loading CMakeModules/TokenList2DsnLexer.cmake +8 −8 Original line number Original line Diff line number Diff line Loading @@ -262,9 +262,9 @@ public: * this lower level function returning an int (so the enum does not collide * this lower level function returning an int (so the enum does not collide * with another usage). * with another usage). * @return ${enum} - the type of token found next. * @return ${enum} - the type of token found next. * @throw IOError - only if the LINE_READER throws it. * @throw IO_ERROR - only if the LINE_READER throws it. */ */ ${enum} NextTok() throw (IOError) ${enum} NextTok() throw( IO_ERROR ) { { return (${enum}) DSNLEXER::NextTok(); return (${enum}) DSNLEXER::NextTok(); } } Loading @@ -273,11 +273,11 @@ public: * Function NeedSYMBOL * Function NeedSYMBOL * calls NextTok() and then verifies that the token read in * calls NextTok() and then verifies that the token read in * satisfies bool IsSymbol(). * satisfies bool IsSymbol(). * If not, an IOError is thrown. * If not, an IO_ERROR is thrown. * @return int - the actual token read in. * @return int - the actual token read in. * @throw IOError, if the next token does not satisfy IsSymbol() * @throw IO_ERROR, if the next token does not satisfy IsSymbol() */ */ ${enum} NeedSYMBOL() throw( IOError ) ${enum} NeedSYMBOL() throw( IO_ERROR ) { { return (${enum}) DSNLEXER::NeedSYMBOL(); return (${enum}) DSNLEXER::NeedSYMBOL(); } } Loading @@ -286,11 +286,11 @@ public: * Function NeedSYMBOLorNUMBER * Function NeedSYMBOLorNUMBER * calls NextTok() and then verifies that the token read in * calls NextTok() and then verifies that the token read in * satisfies bool IsSymbol() or tok==T_NUMBER. * satisfies bool IsSymbol() or tok==T_NUMBER. * If not, an IOError is thrown. * If not, an IO_ERROR is thrown. * @return int - the actual token read in. * @return int - the actual token read in. * @throw IOError, if the next token does not satisfy the above test * @throw IO_ERROR, if the next token does not satisfy the above test */ */ ${enum} NeedSYMBOLorNUMBER() throw( IOError ) ${enum} NeedSYMBOLorNUMBER() throw( IO_ERROR ) { { return (${enum}) DSNLEXER::NeedSYMBOLorNUMBER(); return (${enum}) DSNLEXER::NeedSYMBOLorNUMBER(); } } Loading Loading
CMakeModules/TokenList2DsnLexer.cmake +8 −8 Original line number Original line Diff line number Diff line Loading @@ -262,9 +262,9 @@ public: * this lower level function returning an int (so the enum does not collide * this lower level function returning an int (so the enum does not collide * with another usage). * with another usage). * @return ${enum} - the type of token found next. * @return ${enum} - the type of token found next. * @throw IOError - only if the LINE_READER throws it. * @throw IO_ERROR - only if the LINE_READER throws it. */ */ ${enum} NextTok() throw (IOError) ${enum} NextTok() throw( IO_ERROR ) { { return (${enum}) DSNLEXER::NextTok(); return (${enum}) DSNLEXER::NextTok(); } } Loading @@ -273,11 +273,11 @@ public: * Function NeedSYMBOL * Function NeedSYMBOL * calls NextTok() and then verifies that the token read in * calls NextTok() and then verifies that the token read in * satisfies bool IsSymbol(). * satisfies bool IsSymbol(). * If not, an IOError is thrown. * If not, an IO_ERROR is thrown. * @return int - the actual token read in. * @return int - the actual token read in. * @throw IOError, if the next token does not satisfy IsSymbol() * @throw IO_ERROR, if the next token does not satisfy IsSymbol() */ */ ${enum} NeedSYMBOL() throw( IOError ) ${enum} NeedSYMBOL() throw( IO_ERROR ) { { return (${enum}) DSNLEXER::NeedSYMBOL(); return (${enum}) DSNLEXER::NeedSYMBOL(); } } Loading @@ -286,11 +286,11 @@ public: * Function NeedSYMBOLorNUMBER * Function NeedSYMBOLorNUMBER * calls NextTok() and then verifies that the token read in * calls NextTok() and then verifies that the token read in * satisfies bool IsSymbol() or tok==T_NUMBER. * satisfies bool IsSymbol() or tok==T_NUMBER. * If not, an IOError is thrown. * If not, an IO_ERROR is thrown. * @return int - the actual token read in. * @return int - the actual token read in. * @throw IOError, if the next token does not satisfy the above test * @throw IO_ERROR, if the next token does not satisfy the above test */ */ ${enum} NeedSYMBOLorNUMBER() throw( IOError ) ${enum} NeedSYMBOLorNUMBER() throw( IO_ERROR ) { { return (${enum}) DSNLEXER::NeedSYMBOLorNUMBER(); return (${enum}) DSNLEXER::NeedSYMBOLorNUMBER(); } } Loading