From e21f342130bbb254d4560435172bfd6ba5076081 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 4 Sep 2024 19:11:28 -0500 Subject: [PATCH] Update: The project to compile with the latest FLL FSS changes. --- data/build/stand_alone/config.h | 4 ++-- sources/c/program/controller/main/common/type/cache.h | 3 +++ sources/c/program/controller/main/rule/action.c | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/data/build/stand_alone/config.h b/data/build/stand_alone/config.h index c6c5641..2e0d451 100644 --- a/data/build/stand_alone/config.h +++ b/data/build/stand_alone/config.h @@ -530,7 +530,7 @@ #define _di_f_fll_id_t_ //#define _di_f_fss_apply_delimit_ #define _di_f_fss_apply_delimit_range_ -#define _di_f_fss_complete_e_ +//#define _di_f_fss_complete_e_ //#define _di_f_fss_count_lines_ #define _di_f_fss_count_lines_range_ //#define _di_f_fss_default_d_ @@ -1984,7 +1984,7 @@ #define _di_f_uint8ss_destroy_callback_ //#define _di_f_uint8ss_t_ //#define _di_f_uint8s_t_ -#define _di_f_utf_buffer_decrement_ +//#define _di_f_utf_buffer_decrement_ //#define _di_f_utf_buffer_increment_ //#define _di_f_utf_byte_d_ #define _di_f_utf_character_is_ diff --git a/sources/c/program/controller/main/common/type/cache.h b/sources/c/program/controller/main/common/type/cache.h index d3568ff..37f4f1f 100644 --- a/sources/c/program/controller/main/common/type/cache.h +++ b/sources/c/program/controller/main/common/type/cache.h @@ -69,6 +69,7 @@ extern "C" { * - ats: Locations. * - stack: Locations within a items history used as a history stack for circular recursion prevention. * + * - close: Close positions associated with a buffer string. * - comments: Comments associated with a buffer string. * - delimits: Delimits associated with a buffer string. * @@ -96,6 +97,7 @@ extern "C" { f_number_unsigneds_t ats; f_number_unsigneds_t stack; + f_range_t close; f_ranges_t comments; f_number_unsigneds_t delimits; @@ -121,6 +123,7 @@ extern "C" { f_range_t_initialize, \ f_number_unsigneds_t_initialize, \ f_number_unsigneds_t_initialize, \ + f_range_t_initialize, \ f_ranges_t_initialize, \ f_number_unsigneds_t_initialize, \ f_ranges_t_initialize, \ diff --git a/sources/c/program/controller/main/rule/action.c b/sources/c/program/controller/main/rule/action.c index d0e8163..32cca1e 100644 --- a/sources/c/program/controller/main/rule/action.c +++ b/sources/c/program/controller/main/rule/action.c @@ -84,12 +84,15 @@ extern "C" { cache->content_action.array[i].stop = 0; } // for + cache->close.start = 1; + cache->close.stop = 0; + cache->comments.used = 0; cache->delimits.used = 0; cache->content_action.used = 0; if (method == controller_rule_action_method_extended_list_e) { - fl_fss_extended_list_content_read(cache->buffer_item, range, &cache->content_action, &cache->delimits, &cache->comments, state); + fl_fss_extended_list_content_read(cache->buffer_item, range, &cache->content_action, &cache->close, &cache->delimits, &cache->comments, state); if (F_status_is_error(state->status)) { controller_print_error(&main->program.error, macro_controller_f(fl_fss_extended_list_content_read)); -- 1.8.3.1