harec

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

commit 6b2898d12266d5032cf03d39ef4fd67787e07f8a
parent 3c38ec45c2a972357866ef107b118538c3e0d23a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed,  7 Oct 2020 20:04:16 -0400

lex2: correct invariant

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

diff --git a/src/lex.c b/src/lex.c @@ -317,8 +317,7 @@ lex2(struct lexer *lexer, struct token *out) return d; } - out->token = T_ERROR; // Right? - return d; + assert(0); // Invariant } int