]> Kevux Git Server - controller/commitdiff
Update: The project to compile with the latest FLL FSS changes.
authorKevin Day <Kevin@kevux.org>
Thu, 5 Sep 2024 00:11:28 +0000 (19:11 -0500)
committerKevin Day <Kevin@kevux.org>
Thu, 5 Sep 2024 00:11:28 +0000 (19:11 -0500)
data/build/stand_alone/config.h
sources/c/program/controller/main/common/type/cache.h
sources/c/program/controller/main/rule/action.c

index c6c564133c792fad72701e5edf22aca18ea0b97c..2e0d451a2feff8337ff61ff03a6d384aabcb75ee 100644 (file)
 #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_
 #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_
index d3568ffb9eb0a59d9500b846754a33359b4f5ee4..37f4f1f33892120ed23b7119546162acf637324c 100644 (file)
@@ -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, \
index d0e8163d822321f6c22f91519d0519f65c1b1c70..32cca1e40d2b9c7fd13ea062ee0c650b3998d7af 100644 (file)
@@ -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));