harec

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

commit 2b1118d3e6947ca75a21165e8f56b662a1d0ce70
parent d02a9ce93f18ea55cf07cd988822bec2f42b94b6
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 22 Nov 2020 09:18:08 -0500

lex: correct error lexing ::

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

diff --git a/src/lex.c b/src/lex.c @@ -643,7 +643,7 @@ lex2(struct lexer *lexer, struct token *out, uint32_t c) } break; case ':': - switch (c) { + switch ((c = next(lexer, false))) { case ':': out->token = T_DOUBLE_COLON; break;