Skip to content

Commit

Permalink
style: changed token info
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovaneIwamoto committed Jun 3, 2023
1 parent dd79419 commit eca91bb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
File renamed without changes
Binary file added image/tokens.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions src/token.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ using namespace std;

enum Names
{
UNDEF,
ID,
INTEGER_LITERAL,
OP,
SEP,
RESERVED_KEYWORD,
WHITESPACE,
END_OF_FILE
UNDEF, // 0
ID, // 1
INTEGER_LITERAL, // 2
OP, // 3
SEP, // 4
RESERVED_KEYWORD, // 5
WHITESPACE, // 6
END_OF_FILE // 7
};

class Token
Expand Down

0 comments on commit eca91bb

Please sign in to comment.