From d805ce137f7e09ba1ccc97d2bbcd28fa1f1775da Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Sat, 10 Dec 2022 00:28:24 -0300 Subject: [PATCH] add throws to lexer docs --- src/lexer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lexer.h b/src/lexer.h index 157de79..e64a5ee 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -112,6 +112,7 @@ namespace obelisk /** * @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. */ int getToken();