Make inpcom.c the same as on branch pre-master-45.

This commit is contained in:
Brian Taylor 2025-07-15 13:37:18 -07:00
parent 11d560ed64
commit 779a14490b
1 changed files with 1 additions and 1 deletions

View File

@ -5257,7 +5257,7 @@ int get_number_terminals(char *c)
break;
}
case 'p': /* Recognition of up to 100 cpl nodes */
for (i = j = 0; (i < 100) && (*c != '\0'); i = i + 2) {
for (i = j = 0; (i < 100) && (*c != '\0'); ++i) {
inst = gettok_instance(&c);
if (strchr(inst, '='))
j++;