From 8a64870f6a0a753146db26053da8a292cd20bfdb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 27 Jul 2024 18:59:05 +0200 Subject: [PATCH] xgettext: Vala: Fix recognition of the '%' and '^' operators. * gettext-tools/src/x-vala.c (phase3_get): Classify '%' and '^' as arithmetic operators, not as logic operators. --- gettext-tools/src/x-vala.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gettext-tools/src/x-vala.c b/gettext-tools/src/x-vala.c index e3f3e3ab4..1c503168e 100644 --- a/gettext-tools/src/x-vala.c +++ b/gettext-tools/src/x-vala.c @@ -1120,7 +1120,7 @@ phase3_get (token_ty *tp) else { phase2_ungetc (c2); - tp->type = last_token_type = token_type_logic_operator; + tp->type = last_token_type = token_type_arithmetic_operator; } return; } -- 2.47.3