From 1c80e3154e28c662ff8d33b50f3b560c7bb355c0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 27 Jul 2025 09:46:59 +0200 Subject: [PATCH] Fix typos in comments. * gettext-tools/src/format-lua.c: Fix typos in comments. * gettext-tools/src/format-d.c: Likewise. --- gettext-tools/src/format-d.c | 4 ++-- gettext-tools/src/format-lua.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gettext-tools/src/format-d.c b/gettext-tools/src/format-d.c index c26540e26..75d2eff47 100644 --- a/gettext-tools/src/format-d.c +++ b/gettext-tools/src/format-d.c @@ -53,8 +53,8 @@ - starts with '%', - is optionally followed by a positive integer m, then '$', or - a positive integer m, then ':', then a positive integer m₂ ≥ m, then '$', - a positive integer m, then ':', then '$', or + a positive integer m, then ':', then a positive integer m₂ ≥ m, then '$', or + a positive integer m, then ':', then '$', - is optionally followed by a sequence of flags, each being one of '+', '-', ' ', '0', '#', '=', - is optionally followed by a width specification: diff --git a/gettext-tools/src/format-lua.c b/gettext-tools/src/format-lua.c index afac28bd7..4bab92d1a 100644 --- a/gettext-tools/src/format-lua.c +++ b/gettext-tools/src/format-lua.c @@ -37,7 +37,7 @@ They are implemented in lua-5.2.4/src/lstrlib.c. A directive - - starts with '%' + - starts with '%', - is optionally followed by any of the characters '0', '-', ' ', or each of which acts as a flag, - is optionally followed by a width specification: a nonempty digit @@ -45,7 +45,7 @@ - is optionally followed by '.' and a precision specification: an optional nonempty digit sequence with at most 2 digits, - is finished by a specifier - - 's', 'q', that needs a string argument, + - 's', 'q', that need a string argument, - 'd', 'i', 'o', 'u', 'X', 'x', that need an integer argument, - 'A', 'a', 'E', 'e', 'f', 'G', 'g', that need a floating-point argument, - 'c', that needs a character argument. -- 2.47.3