From 943682f1d568af8959ba66890f940a1c76dff6c5 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 17 Aug 2021 14:35:31 +0200 Subject: [PATCH] rulegen:: tests:: comments now available in .lst files --- devmods/rulegen-tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devmods/rulegen-tests.cpp b/devmods/rulegen-tests.cpp index 2a3b397a..d633e1b2 100644 --- a/devmods/rulegen-tests.cpp +++ b/devmods/rulegen-tests.cpp @@ -466,7 +466,7 @@ void test_from_file(string list) { std::ifstream is("devmods/rulegen-tests/" + list + ".lst"); string s; while(getline(is, s)) { - if(s != "") filenames.push_back(s); + if(s != "" && s[0] != '#') filenames.push_back(s); } int trv = test_rotate_val;