From 58aabecb3de343bfade0314984da772be46f952a Mon Sep 17 00:00:00 2001 From: tocariimaa Date: Sun, 19 Jan 2025 19:19:23 -0300 Subject: [PATCH] style: remove braces --- compiler/lex.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/lex.c b/compiler/lex.c index aa0bc5b..2c4a5fa 100644 --- a/compiler/lex.c +++ b/compiler/lex.c @@ -194,9 +194,8 @@ skip_whitespace(LexState *ls) MaybeChr c; for (;;) { c = read_chr(ls); - if (!c.ok) { + if (!c.ok) return None(MaybeChr); - } if (!ascii_isspace(c.val)) break; ++ls->lbegin;