much closer to working
authorFred T. Hamster <fred@feistymeow.org>
Sun, 8 Feb 2026 14:19:23 +0000 (09:19 -0500)
committerFred T. Hamster <fred@feistymeow.org>
Sun, 8 Feb 2026 14:19:23 +0000 (09:19 -0500)
and more upgrade bits added.

nucleus/library/tests_configuration/test_ini_parser.cpp
scripts/buildor/upgrade_hoople_to_feistymeow.sh

index 37ee66eff8919aa756c357be99e45dbd57865b8c..b25516d539b387695eb00f4d565b3636693dfa02 100644 (file)
 #include <application/application_shell.h>
 #include <filesystem/byte_filer.h>
 #include <loggers/console_logger.h>
+#include <loggers/critical_events.h>
+#include <loggers/program_wide_logger.h>
 #include <configuration/ini_parser.h>
 #include <structures/static_memory_gremlin.h>
+#include <textual/parser_bits.h>
 #include <unit_test/unit_base.h>
 
 using namespace application;
@@ -29,8 +32,8 @@ using namespace configuration;
 //using namespace mathematics;
 //using namespace filesystem;
 using namespace loggers;
-//using namespace structures;
-//using namespace textual;
+using namespace structures;
+using namespace textual;
 //using namespace timely;
 using namespace unit_test;
 
@@ -53,14 +56,14 @@ dora=34\n\
 class test_ini_parser : virtual public unit_base, virtual public application_shell
 {
 public:
-  test_ini_parser() : application_shell(class_name()) {}
+  test_ini_parser() : application_shell() {}
   DEFINE_CLASS_NAME("test_ini_parser");
   virtual int execute();
 };
 
 int test_ini_parser::execute()
 {
-  program_wide_logger::get().eol(log_base::NO_ENDING);
+  program_wide_logger::get().eol(parser_bits::NO_ENDING);
 
   ini_parser par(INI_FILE_1);
 
@@ -100,7 +103,7 @@ int test_ini_parser::execute()
   astring new_ini;
   par.restate(new_ini);
 
-  program_wide_logger::get().eol(log_base::CRLF_AT_END);
+  program_wide_logger::get().eol(parser_bits::CRLF_AT_END);
   LOG("");
 
 #ifdef READ_FILE_TEST
index b0e6b205a93da4890ddab9221dbba19fa45b5eca..fa06ce917720b5275c843079b93301264b38d485 100644 (file)
@@ -155,6 +155,8 @@ standards and usages."
     | sed -e 's/guards::alert_message/critical_events::alert_message/g' \
     | sed -e 's/^#include <mathematics\/float_plus.h> *$/#include <mathematics\/double_plus.h>/g' \
     | sed -e 's/^#include <opsystem\/ini_parser.h> *$/#include <configuration\/ini_parser.h>/g' \
+    | sed -e 's/log_base::NO_ENDING/parser_bits::NO_ENDING/g' \
+    | sed -e 's/log_base::CRLF_AT_END/parser_bits::CRLF_AT_END/g' \
     | sed -e 's/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/[\/]*/\/\/\/\/\/\/\/\/\/\/\/\/\/\//g' \
     >"$tempfile"