|
|
@ -5283,7 +5283,6 @@ int get_number_terminals(char *c) |
|
|
/* required to make m= 1 a single token m=1 */ |
|
|
/* required to make m= 1 a single token m=1 */ |
|
|
ccfree = cc = inp_remove_ws(cc); |
|
|
ccfree = cc = inp_remove_ws(cc); |
|
|
for (i = j = 0; (i < 12) && (*cc != '\0'); ++i) { |
|
|
for (i = j = 0; (i < 12) && (*cc != '\0'); ++i) { |
|
|
char* comma; |
|
|
|
|
|
|
|
|
|
|
|
name[i] = gettok_instance(&cc); |
|
|
name[i] = gettok_instance(&cc); |
|
|
if (search_plain_identifier(name[i], "off")) { |
|
|
if (search_plain_identifier(name[i], "off")) { |
|
|
@ -5298,6 +5297,10 @@ int get_number_terminals(char *c) |
|
|
if (strchr(name[i], '=')) { |
|
|
if (strchr(name[i], '=')) { |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
|
|
|
/* an expression for area {...}, (without area={...})*/ |
|
|
|
|
|
if (*name[i] == '{') { |
|
|
|
|
|
break; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
i--; |
|
|
i--; |
|
|
tfree(ccfree); |
|
|
tfree(ccfree); |
|
|
|