[FIX] add dummy commands to rule without a command #208

Merged
budRich merged 1 commit from king-catch-broken-rules into next 2023-08-05 16:16:01 +00:00
budRich commented 2023-08-04 14:43:37 +00:00 (Migrated from github.com)

This can happen if a rule is incorrectly declared (#207) , where f.i the expected linebreak that separates rule and command is escaped.

This commit increment command_counter for such lines, and adds a "nop" command as a place holder. It will also print a message both when such rules are parsed and executed.

fixes #207

This can happen if a rule is incorrectly declared (#207) , where f.i the expected linebreak that separates rule and command is escaped. This commit increment command_counter for such lines, and adds a "nop" command as a place holder. It will also print a message both when such rules are parsed and executed. fixes #207
Sign in to join this conversation.
No description provided.