]> Kevux Git Server - fll/commit
Refactor: "if defined" and "if not defined" to be easier to use in fake program.
authorKevin Day <thekevinday@gmail.com>
Sun, 10 Jul 2022 02:52:07 +0000 (21:52 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 10 Jul 2022 03:11:24 +0000 (22:11 -0500)
commit98d6c6ae3c44b707805498a0572cc846addb6c1e
tree167a43b38196d2da10ba71c1b545a1cb4a618a3f
parentea840499c969ae2c1434fd41a4e30d53c8992b2e
Refactor: "if defined" and "if not defined" to be easier to use in fake program.

Using "if not defined parameter work" can be confusing.
Using "if not parameter work" is shorter and easier to understand.

Using "if defined environment PATH" can be very confusing.
Using "if define PATH" is shorter and a lot easier to understand.

Break apart the "if defined" (and "if not defined") logic into two operations:
1) "if define" (and "if not define").
2) "if parameter" (and "if not parameter").

This makes the behavior easier to understand as it directly maps to the "defined" and "parameter" settings.
37 files changed:
level_0/f_account/data/build/testfile
level_0/f_capability/data/build/testfile
level_0/f_color/data/build/testfile
level_0/f_console/data/build/testfile
level_0/f_control_group/data/build/testfile
level_0/f_conversion/data/build/testfile
level_0/f_directory/data/build/testfile
level_0/f_environment/data/build/testfile
level_0/f_execute/data/build/testfile
level_0/f_file/data/build/testfile
level_0/f_fss/data/build/testfile
level_0/f_iki/data/build/testfile
level_0/f_limit/data/build/testfile
level_0/f_memory/data/build/testfile
level_0/f_path/data/build/testfile
level_0/f_pipe/data/build/testfile
level_0/f_print/data/build/testfile
level_0/f_serialize/data/build/testfile
level_0/f_signal/data/build/testfile
level_0/f_socket/data/build/testfile
level_0/f_status/data/build/testfile
level_0/f_status_string/data/build/testfile
level_0/f_string/data/build/testfile
level_0/f_thread/data/build/testfile
level_0/f_type_array/data/build/testfile
level_0/f_utf/data/build/testfile
level_2/fll_status_string/data/build/testfile
level_3/fake/c/private-common.c
level_3/fake/c/private-common.h
level_3/fake/c/private-make-load_fakefile.c
level_3/fake/c/private-make-operate_process.c
level_3/fake/c/private-make-operate_process_type.c
level_3/fake/c/private-make-operate_process_type.h
level_3/fake/c/private-make-operate_validate.c
level_3/fake/data/build/fakefile-example-linux_using_make
level_3/fake/documents/fakefile.txt
level_3/fake/specifications/fakefile.txt