commit 1832fadc7ff83a456e4213e34bba0972c82ec17f parent e8aeb7e6caef61feb7379a9dbd047cad95315226 Author: Eyal Sawady <ecs@d2evs.net> Date: Thu, 4 Feb 2021 18:37:49 -0500 lex: use decimal basechrs for suffix Diffstat:
M | src/lex.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/lex.c b/src/lex.c @@ -332,6 +332,7 @@ lex_literal(struct lexer *lexer, struct token *out) goto finalize; } suff = &lexer->buf[lexer->buflen - 1]; + basechrs = "0123456789"; break; default: push(lexer, c, true);