add throws to lexer docs

This commit is contained in:
Chris Cromer 2022-12-10 00:28:24 -03:00
parent b5d68cc418
commit d805ce137f
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -112,6 +112,7 @@ namespace obelisk
/** /**
* @brief Gets the next token in the source code. * @brief Gets the next token in the source code.
* *
* @throws LexerException when an invalid token is found.
* @return int Returns a Token value or char if no known token was found. * @return int Returns a Token value or char if no known token was found.
*/ */
int getToken(); int getToken();