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;