Skip to content

Commit

Permalink
Add missing Keyword::List in a Token::dump enumeration (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
vla5924 authored May 5, 2024
1 parent dcad6bb commit cf8483e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/lib/frontend/lexer/token.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include <sstream>

#include "lexer/token_types.hpp"

using namespace lexer;

namespace {
Expand Down Expand Up @@ -36,6 +38,8 @@ const char *const keywordToString(Keyword kw) {
return "in";
case Keyword::Int:
return "int";
case Keyword::List:
return "list";
case Keyword::None:
return "None";
case Keyword::Not:
Expand Down

0 comments on commit cf8483e

Please sign in to comment.