diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index ca2c77f..63ccf55 100644 --- a/src/utils.h +++ b/src/utils.h @@ -28,9 +28,10 @@ enum class TokenType { VALUE_IDENTIFIER, }; -TokenType determineToken(char); +TokenType determineToken(const char); +TokenType determineToken(const std::string&); PrecedenceLevel precedence(TokenType); -std::vector<std::string> lexer(std::string); +std::vector<std::string> lexer(const std::string&); double doubleToString(const std::string&); |