Added loop counter per while instead of global. fixes #135 (#136)

This commit is contained in:
Thomas Arp 2024-09-16 22:25:29 +02:00 committed by GitHub
parent 762cb77c60
commit c838a513dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -135,6 +135,7 @@ struct cmdlist_element {
char *cmd; /* one line of a trigger */
struct cmdlist_element *original;
struct cmdlist_element *next;
int loops; /* for counting number of runs in a while loop */
};
struct trig_var_data {