We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca1cb41 commit a4fcd21Copy full SHA for a4fcd21
1 file changed
lib/lexer/tokens/TokenType.hpp
@@ -3,11 +3,7 @@
3
4
#include <string_view>
5
6
-enum class TokenType {
7
- IDENT, KEYWORD, INT, FLOAT,
8
- STRING, CHAR, BOOL, OPERATOR,
9
- PUNCT, NEWLINE, COMMENT, EOF_T
10
-};
+enum class TokenType { IDENT, KEYWORD, INT, FLOAT, STRING, CHAR, BOOL, OPERATOR, PUNCT, NEWLINE, COMMENT, EOF_T };
11
12
inline std::string_view to_string_view(TokenType token_type) {
13
switch (token_type) {
0 commit comments