harec

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

commit 572b914b0cae05792a721f5e93bac3dca5842ce7
parent 18c6531ec88a9ef589df0293231926453ee4c364
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  8 Oct 2020 16:34:42 -0400

lex: fix literal precision suffixes

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

diff --git a/src/lex.c b/src/lex.c @@ -254,7 +254,7 @@ lex_literal(struct lexer *lexer, struct token *out) push(lexer, c, true); goto finalize; } - suff = lexer->buf; + suff = &lexer->buf[lexer->buflen - 1]; issuff = true; break; default: