From 41da477b6c7805e3025d6d85db20276c13e16729 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 20 Jun 2026 18:19:37 +0200 Subject: [PATCH 1/2] [over.built] Add commas after "e.g." --- source/overloading.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/overloading.tex b/source/overloading.tex index 52883f84dd..aaba787a5f 100644 --- a/source/overloading.tex +++ b/source/overloading.tex @@ -3845,11 +3845,11 @@ In this subclause, the term \defn{promoted integral type} is used to refer to those cv-unqualified integral types which are preserved by -integral promotion\iref{conv.prom} (including e.g. +integral promotion\iref{conv.prom} (including e.g., \tcode{int} and \tcode{long} -but excluding e.g. +but excluding e.g., \tcode{char}). \begin{note} In all cases where a promoted integral type is From ead022e7101a97e762efb3701e4eed09460b533e Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 20 Jun 2026 18:20:31 +0200 Subject: [PATCH 2/2] [check] Fix insuffient comma check after "e.g." and "i.e." --- tools/check-source.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check-source.sh b/tools/check-source.sh index ffd7c94d47..56c82c2a91 100755 --- a/tools/check-source.sh +++ b/tools/check-source.sh @@ -212,9 +212,9 @@ done | fail '"shall", "should", or "may" inside a note' || failed=1 # Comma after e.g. and i.e. -grep -n "e\.g\.[^,]" $texfiles | +grep -nP "e\.g\.(?!,)" $texfiles | fail '"e.g." must be followed by a comma' -grep -n "i\.e\.[^,]" $texfiles | +grep -nP "i\.e\.(?!,)" $texfiles | fail '"i.e." must be followed by a comma'