harec

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

commit 2a8e4f699e93cf66c15b8de170d4924c5d65efc5
parent 96e258608fa12e245a343059bfff8818bec40850
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 18 Jan 2021 19:23:00 -0500

lex: remove obsolete "while" keyword

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

diff --git a/include/lex.h b/include/lex.h @@ -62,8 +62,7 @@ enum lexical_token { T_UNION, T_USE, T_VOID, - T_WHILE, - T_LAST_KEYWORD = T_WHILE, + T_LAST_KEYWORD = T_VOID, // Operators T_ANDEQ, diff --git a/src/lex.c b/src/lex.c @@ -71,7 +71,6 @@ static const char *tokens[] = { [T_UNION] = "union", [T_USE] = "use", [T_VOID] = "void", - [T_WHILE] = "while", // Operators [T_ANDEQ] = "&=",