From 71652222451c24809d49e5fd70a97704fc25c688 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 14 May 2022 08:50:54 -0500 Subject: [PATCH] Cleanup: Use standard name when printing message. --- level_3/fss_basic_list_write/c/private-write.c | 4 ++-- level_3/fss_basic_write/c/private-write.c | 4 ++-- level_3/fss_embedded_list_write/c/private-write.c | 4 ++-- level_3/fss_extended_list_write/c/private-write.c | 4 ++-- level_3/fss_extended_write/c/private-write.c | 2 +- level_3/fss_payload_write/c/private-write.c | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/level_3/fss_basic_list_write/c/private-write.c b/level_3/fss_basic_list_write/c/private-write.c index 472d756..8c7f775 100644 --- a/level_3/fss_basic_list_write/c/private-write.c +++ b/level_3/fss_basic_list_write/c/private-write.c @@ -36,7 +36,7 @@ extern "C" { flockfile(main->error.to.stream); - fl_print_format("%r%[%QThis standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); + fl_print_format("%r%[%QThe FSS-0002 (Basic List) standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); fl_print_format("%[\\n%]", main->error.to.stream, main->error.notable, main->error.notable); fl_print_format("%[' (%]", main->error.to.stream, main->error.context, main->error.context); fl_print_format("%[U+000A%]", main->error.to.stream, main->error.notable, main->error.notable); @@ -275,7 +275,7 @@ extern "C" { if (block.string[range.start] == fss_basic_list_write_pipe_content_start_s.string[0]) { if (main->error.verbosity != f_console_verbosity_quiet_e) { - fll_print_format("%r%[%sThis standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); + fll_print_format("%r%[%QThe FSS-0002 (Basic List) standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); } status = F_status_set_error(F_supported_not); diff --git a/level_3/fss_basic_write/c/private-write.c b/level_3/fss_basic_write/c/private-write.c index 91e9e8a..35d37e7 100644 --- a/level_3/fss_basic_write/c/private-write.c +++ b/level_3/fss_basic_write/c/private-write.c @@ -53,7 +53,7 @@ extern "C" { flockfile(main->error.to.stream); - fl_print_format("%r%[%QThis standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); + fl_print_format("%r%[%QThe FSS-0000 (Basic) standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); fl_print_format("%[\\n%]", main->error.to.stream, main->error.notable, main->error.notable); fl_print_format("%[' (%]", main->error.to.stream, main->error.context, main->error.context); fl_print_format("%[U+000A%]", main->error.to.stream, main->error.notable, main->error.notable); @@ -277,7 +277,7 @@ extern "C" { if (block.string[range.start] == fss_basic_write_pipe_content_start_s.string[0]) { if (main->error.verbosity != f_console_verbosity_quiet_e) { - fll_print_format("%r%[%QThis standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); + fll_print_format("%r%[%QThe FSS-0000 (Basic) standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); } status = F_status_set_error(F_supported_not); diff --git a/level_3/fss_embedded_list_write/c/private-write.c b/level_3/fss_embedded_list_write/c/private-write.c index f54c836..50260bd 100644 --- a/level_3/fss_embedded_list_write/c/private-write.c +++ b/level_3/fss_embedded_list_write/c/private-write.c @@ -36,7 +36,7 @@ extern "C" { flockfile(main->error.to.stream); - fl_print_format("%r%[%QThis standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); + fl_print_format("%r%[%QThe FSS-0008 (Embedded List) standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); fl_print_format("%[\\n%]", main->error.to.stream, main->error.notable, main->error.notable); fl_print_format("%[' (%]", main->error.to.stream, main->error.context, main->error.context); fl_print_format("%[U+000A%]", main->error.to.stream, main->error.notable, main->error.notable); @@ -281,7 +281,7 @@ extern "C" { if (block.string[range.start] == fss_embedded_list_write_pipe_content_start_s.string[0]) { if (main->error.verbosity != f_console_verbosity_quiet_e) { - fll_print_format("%r%[%QThis standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); + fll_print_format("%r%[%QThe FSS-0008 (Embedded List) standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); } status = F_status_set_error(F_supported_not); diff --git a/level_3/fss_extended_list_write/c/private-write.c b/level_3/fss_extended_list_write/c/private-write.c index 151e162..edf7bf8 100644 --- a/level_3/fss_extended_list_write/c/private-write.c +++ b/level_3/fss_extended_list_write/c/private-write.c @@ -36,7 +36,7 @@ extern "C" { flockfile(main->error.to.stream); - fl_print_format("%r%[%QThis standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); + fl_print_format("%r%[%QThe FSS-0003 (Extended List) standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); fl_print_format("%[\\n%]", main->error.to.stream, main->error.notable, main->error.notable); fl_print_format("%[' (%]", main->error.to.stream, main->error.context, main->error.context); fl_print_format("%[U+000A%]", main->error.to.stream, main->error.notable, main->error.notable); @@ -278,7 +278,7 @@ extern "C" { if (block.string[range.start] == fss_extended_list_write_pipe_content_start_s.string[0]) { if (main->error.verbosity != f_console_verbosity_quiet_e) { - fll_print_format("%r%[%QThis standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); + fll_print_format("%r%[%QThe FSS-0003 (Extended List) standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); } status = F_status_set_error(F_supported_not); diff --git a/level_3/fss_extended_write/c/private-write.c b/level_3/fss_extended_write/c/private-write.c index aa914a8..0ebcf53 100644 --- a/level_3/fss_extended_write/c/private-write.c +++ b/level_3/fss_extended_write/c/private-write.c @@ -53,7 +53,7 @@ extern "C" { flockfile(main->error.to.stream); - fl_print_format("%r%[%QThis standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); + fl_print_format("%r%[%QThe FSS-0001 (Extended) standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); fl_print_format("%[\\n%]", main->error.to.stream, main->error.notable, main->error.notable); fl_print_format("%[' (%]", main->error.to.stream, main->error.context, main->error.context); fl_print_format("%[U+000A%]", main->error.to.stream, main->error.notable, main->error.notable); diff --git a/level_3/fss_payload_write/c/private-write.c b/level_3/fss_payload_write/c/private-write.c index dc41dcc..4a81764 100644 --- a/level_3/fss_payload_write/c/private-write.c +++ b/level_3/fss_payload_write/c/private-write.c @@ -36,7 +36,7 @@ extern "C" { flockfile(main->error.to.stream); - fl_print_format("%r%[%QThis standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); + fl_print_format("%r%[%QThe FSS-000E (Payload) standard does not support end of line character '%]", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context); fl_print_format("%[\\n%]", main->error.to.stream, main->error.notable, main->error.notable); fl_print_format("%[' (%]", main->error.to.stream, main->error.context, main->error.context); fl_print_format("%[U+000A%]", main->error.to.stream, main->error.notable, main->error.notable); @@ -346,7 +346,7 @@ extern "C" { if (block.string[range.start] == fss_payload_write_pipe_content_start_s.string[0]) { if (main->error.verbosity != f_console_verbosity_quiet_e) { - fll_print_format("%r%[%QThis standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); + fll_print_format("%r%[%QThe FSS-000E (Payload) standard only supports one content per object.%]%r", main->error.to.stream, f_string_eol_s, main->error.context, main->error.prefix, main->error.context, f_string_eol_s); } status = F_status_set_error(F_supported_not); -- 1.8.3.1