aboutsummaryrefslogtreecommitdiffhomepage
path: root/lex.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-10-13 19:47:33 +0200
committerlemon <lsof@mailbox.org>2025-10-13 19:47:33 +0200
commit2e336f98e7cf83fd9e678b28627af5c56a1ed027 (patch)
tree8dd7da64a8b0955c2785673469e8e2a08ecdde63 /lex.c
parent78145f612583750e25090c4d37e418db9aa9c5e2 (diff)
lex: correct wsseparated (maybe?)
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lex.c b/lex.c
index 4bc5286..9deb87a 100644
--- a/lex.c
+++ b/lex.c
@@ -627,7 +627,7 @@ static bool /* whitespace separating tokens? */
wsseparated(const struct token *l, const struct token *r)
{
assert(l->span.sl.file == r->span.sl.file);
- return l->span.sl.off + l->span.sl.len < r->span.sl.off;
+ return l->span.sl.off + l->span.sl.len != r->span.sl.off;
}
static bool