harec

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

commit 42150d52198b230f66ece68aefc20773ee98169f
parent 68ab9456862d1ff1483716385afbe26b8f290636
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon,  7 Dec 2020 15:38:31 -0500

Add `abort` keyword

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 @@ -6,6 +6,7 @@ // Keep sorted enum lexical_token { T_AS, + T_ABORT, T_ASSERT, T_BOOL, T_BREAK, diff --git a/src/lex.c b/src/lex.c @@ -14,6 +14,7 @@ static const char *tokens[] = { // Must be alpha sorted [T_AS] = "as", + [T_ABORT] = "abort", [T_ASSERT] = "assert", [T_BOOL] = "bool", [T_BREAK] = "break",