inpcom.c, get_number_terminals(), ignore "save" and "print" when CIDER

This commit is contained in:
h_vogt 2016-05-01 18:52:52 +02:00 committed by rlar
parent f110d67642
commit f7c0dd0c4c
1 changed files with 4 additions and 0 deletions

View File

@ -3735,6 +3735,10 @@ get_number_terminals(char *c)
name[i] = gettok_instance(&c);
if (strstr(name[i], "off") || strchr(name[i], '='))
j++;
#ifdef CIDER
if (strstr(name[i], "save") || strstr(name[i], "print"))
j++;
#endif
/* If we have IC=VBE, VCE instead of IC=VBE,VCE we need to inc j */
if ((comma = strchr(name[i], ',')) != NULL && (*(++comma) == '\0'))
j++;