lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 1f4c7138 2/8: Allow 'test_coding_rules_test.s


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1f4c7138 2/8: Allow 'test_coding_rules_test.sh' to contain reserved names
Date: Thu, 19 May 2022 13:28:59 -0400 (EDT)

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

    Allow 'test_coding_rules_test.sh' to contain reserved names
---
 test_coding_rules.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test_coding_rules.cpp b/test_coding_rules.cpp
index 45446e00..6cbd1f08 100644
--- a/test_coding_rules.cpp
+++ b/test_coding_rules.cpp
@@ -1052,7 +1052,10 @@ bool check_reserved_name_exception(std::string const& s)
 
 void check_reserved_names(file const& f)
 {
-    if(f.phyloanalyze("^configure.ac$"))
+    if
+        (   f.phyloanalyze("^configure.ac$")
+        ||  f.phyloanalyze("^test_coding_rules_test.sh$")
+        )
         {
         return;
         }



reply via email to

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