]> Kevux Git Server - controller/commit
Progress: Continue implementing controlfile and initfile support.
authorKevin Day <Kevin@kevux.org>
Wed, 19 Nov 2025 05:27:17 +0000 (23:27 -0600)
committerKevin Day <Kevin@kevux.org>
Wed, 19 Nov 2025 05:27:17 +0000 (23:27 -0600)
commite9d91df2016487649fd33a271799ca4003b8a85e
tree59215a43edae3e7a04c190e1f7490fc0887c920d
parent3f97cd02642cdde263e9ee3efb5aa452583ccb9f
Progress: Continue implementing controlfile and initfile support.

Fix issue where the `extern` prefix strings accidentally have `_length` in their names.

The entry and rule names should be without their prefixes.
Perform the prefix matching before pulling out the string.
Skip anything that doesn't match the correct prefix when using a loaded file.
Otherwise, operate normally.

This relocates the exit file loading to be at the start, right after loading the entry file.

It may be worth loading all of the rules specified in the entry and the exit at the start.
I added `@todo` and `@fixme` to represent these areas that I need to figure out how I want to handle.
data/build/stand_alone/config.h
sources/c/program/controller/main/common/string.h
sources/c/program/controller/main/entry.c
sources/c/program/controller/main/entry/process.c
sources/c/program/controller/main/rule/read.c
sources/c/program/controller/main/thread/entry.c