]> Kevux Git Server - fll/commit
Bugfix: More cases where if/else is not working as intended.
authorKevin Day <thekevinday@gmail.com>
Wed, 12 Jan 2022 23:57:19 +0000 (17:57 -0600)
committerKevin Day <thekevinday@gmail.com>
Wed, 12 Jan 2022 23:57:19 +0000 (17:57 -0600)
commit13f80fdf95617d662218007fb5a2025caacdaf41
treeb03735879483abb440c1556efee79ce2c0d6db9b
parent13ee40dd890c6626249ffecee016c1b3e0cea1d2
Bugfix: More cases where if/else is not working as intended.

In the previous commit I accidentally removed the "or" condition.

I also found that I needed to be more thorough with the logic.
The condition result needs to be returned and handled when immediately returning.
This then allows for subsequent conditions to use the condition result.
The condition result gets reset on each pass of the loop.
The block result needs to then retrieve the condition result to ensure the result is preserved across loop passes.
level_3/fake/c/private-make-operate.c
level_3/fake/c/private-make-operate_process.c