Changelog:
r44520 | compyx | 2023-09-17 08:07:07 +0000 (Sun, 17 Sep 2023) | 6 lines
Hotkeys: add `vhk_parser_warning()`, turn invalid action for machine into warning
Add function to log warnings with source file and line number, use this function
to warn about invalid actions for the current machine, but continue parsing.
End all warnings and error messages with a period in an attempt to be consistent
------------------------------------------------------------------------
r44519 | compyx | 2023-09-16 14:32:22 +0000 (Sat, 16 Sep 2023) | 2 lines
Hotkeys: check global truth state before checking action-ID validity
------------------------------------------------------------------------
r44518 | compyx | 2023-09-16 07:48:38 +0000 (Sat, 16 Sep 2023) | 5 lines
Hotkeys: log error if trying to map hotkey to invalid action for current machine
Log error and stop parsing if the hotkeys file contains a mapping to an action
that isn't supported by the current machine.
------------------------------------------------------------------------
r44517 | compyx | 2023-09-16 06:57:13 +0000 (Sat, 16 Sep 2023) | 6 lines
Hotkeys: fix ifstack !else handling, should fix bug #1944
While attempting to condense the logic of handling `!else` the checking of the
previous condition on the stack got lost, should be fixed now.
Also restores always parsing included files for better syntax checking.
------------------------------------------------------------------------
r44516 | compyx | 2023-09-15 16:32:02 +0000 (Fri, 15 Sep 2023) | 2 lines
Hotkeys: do not process !include directives in "false" conditions in files
------------------------------------------------------------------------