harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9129d7775fbb319326737732210099167e34bc09
parent ce285b31adbbcaf40fe5d19f671a02bffae2c49a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 11 Dec 2020 12:03:20 -0500

lex: add T_TYPE token

Diffstat:
Minclude/lex.h | 1+
Msrc/lex.c | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/lex.h b/include/lex.h @@ -42,6 +42,7 @@ enum lexical_token { T_STRUCT, T_SWITCH, T_TRUE, + T_TYPE, T_U16, T_U32, T_U64, diff --git a/src/lex.c b/src/lex.c @@ -50,6 +50,7 @@ static const char *tokens[] = { [T_STRUCT] = "struct", [T_SWITCH] = "switch", [T_TRUE] = "true", + [T_TYPE] = "type", [T_U16] = "u16", [T_U32] = "u32", [T_U64] = "u64",