if (state_process->block) {
if (state_process->operation == fake_make_operation_type_and_e || state_process->operation == fake_make_operation_type_else_e || state_process->operation == fake_make_operation_type_if_e || state_process->operation == fake_make_operation_type_or_e) {
+
+ if (state_process->operation == fake_make_operation_type_if_e) {
+
+ // When another if condition follows a non-if, non-and, and non-or, then this is the start of a new condition block.
+ if (state_process->operation_previous != fake_make_operation_type_if_e && state_process->operation_previous != fake_make_operation_type_and_e && state_process->operation_previous != fake_make_operation_type_or_e) {
+ state_process->block = fake_state_process_block_operate_e;
+ state_process->block_result = 0;
+ }
+ }
+
return;
}
fake_make_operation_argument_if_mode_s,
fake_make_operation_argument_if_not_s,
fake_make_operation_argument_if_define_s, // If not define, represented by just "define".
- fake_make_operation_argument_if_exist_s, // If not exist, represented by just "exist".
+ fake_make_operation_argument_if_exist_s, // If not exist, represented by just "exist".
fake_make_operation_argument_if_group_s, // If not group, represented by just "group".
fake_make_operation_argument_if_is_s, // If not is, represented by just "is".
fake_make_operation_argument_if_mode_s, // If not mode, represented by just "mode".