Skip to content

Commit a8fed47

Browse files
committed
Add a placeholder for [diff.cpp20].
1 parent bd05247 commit a8fed47

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

source/compatibility.tex

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
%!TEX root = std.tex
22
\infannex{diff}{Compatibility}
33

4+
% TODO: Add this once we have differences.
5+
6+
%\rSec1[diff.cpp20]{\Cpp{} and ISO \CppXX{}}
7+
%
8+
%\pnum
9+
%\indextext{summary!compatibility with ISO \CppXX{}}%
10+
%This subclause lists the differences between \Cpp{} and
11+
%ISO \CppXX{} (ISO/IEC 14882:2020, \doccite{Programming Languages --- \Cpp{}}),
12+
%by the chapters of this document.
13+
414
\rSec1[diff.cpp17]{\Cpp{} and ISO \CppXVII{}}
515

616
\pnum

tools/check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ for f in *.tex; do [ $(tail -c 2 $f | wc -l) -eq 1 ] || (echo "$f has trailing e
2323
grep -ne '^.\+\\\(begin\|end\){codeblock}' $texfiles && exit 1
2424

2525
# \pnum not alone on a line.
26-
grep -ne '^.\+\\pnum' $texfiles && exit 1
26+
grep -ne '^[^%]\+\\pnum' $texfiles && exit 1
2727
grep -ne '\\pnum.\+$' $texfiles && exit 1
2828
# Fixup: sed '/\\pnum.\+$/s/\\pnum\s*/\\pnum\n/'
2929

0 commit comments

Comments
 (0)