From 7ddc140dbf751421254330402dc55ccd79438a86 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 12 May 2026 22:44:33 +0100 Subject: [PATCH] parse: lex: fix arithmetic state not scanning operator tokens --- bshell/parse/lex/arithmetic.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bshell/parse/lex/arithmetic.c b/bshell/parse/lex/arithmetic.c index 40ae795..c9940b9 100644 --- a/bshell/parse/lex/arithmetic.c +++ b/bshell/parse/lex/arithmetic.c @@ -168,14 +168,14 @@ static const unsigned int keywords[] = { }; static const unsigned int operators[] = { - TKOP_NONE, TKOP_F, TKOP_BAND, TKOP_BOR, - TKOP_BXOR, TKOP_BNOT, TKOP_SHL, TKOP_SHR, - TKOP_EQ, TKOP_NE, TKOP_GT, TKOP_LT, - TKOP_GE, TKOP_LE, TKOP_MATCH, TKOP_NOTMATCH, - TKOP_REPLACE, TKOP_LIKE, TKOP_NOTLIKE, TKOP_IN, - TKOP_NOTIN, TKOP_CONTAINS, TKOP_NOTCONTAINS, TKOP_AND, - TKOP_OR, TKOP_XOR, TKOP_NOT, TKOP_SPLIT, - TKOP_JOIN, TKOP_IS, TKOP_ISNOT, TKOP_AS, + TKOP_F, TKOP_BAND, TKOP_BOR, TKOP_BXOR, + TKOP_BNOT, TKOP_SHL, TKOP_SHR, TKOP_EQ, + TKOP_NE, TKOP_GT, TKOP_LT, TKOP_GE, + TKOP_LE, TKOP_MATCH, TKOP_NOTMATCH, TKOP_REPLACE, + TKOP_LIKE, TKOP_NOTLIKE, TKOP_IN, TKOP_NOTIN, + TKOP_CONTAINS, TKOP_NOTCONTAINS, TKOP_AND, TKOP_OR, + TKOP_XOR, TKOP_NOT, TKOP_SPLIT, TKOP_JOIN, + TKOP_IS, TKOP_ISNOT, TKOP_AS, TKOP_NONE, }; static const unsigned int symbols[] = {