lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 07edbd8 10/12: Document the One True nonempty


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 07edbd8 10/12: Document the One True nonempty d-char-sequence
Date: Mon, 28 Jun 2021 18:44:29 -0400 (EDT)

branch: master
commit 07edbd800e790c122568b879ea1ff17a8fc07549
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Document the One True nonempty d-char-sequence
---
 test_coding_rules_test.sh | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/test_coding_rules_test.sh b/test_coding_rules_test.sh
index 3f13e82..9b12ee3 100755
--- a/test_coding_rules_test.sh
+++ b/test_coding_rules_test.sh
@@ -231,9 +231,18 @@ EOF
 
 cat >eraseme_cpp_005.cpp <<EOF
 $boilerplate
-auto const ok = R"--cut-here--(
-Uses the only allowed non-empty d-char-seq.
+// See:
+//   https://lists.nongnu.org/archive/html/lmi/2021-03/msg00032.html
+// and commit fec9d6d9b3375750:
+//   Establish the One True nonempty d-char-sequence
+
+// "1 + " skips the newline:
+std::string const okay =
+1 + R"--cut-here--(
+  0  0.12345
+  1  0.23456
 )--cut-here--";
+
 auto const not_ok = R"==(disallowed)==";
 EOF
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]