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 e5d70d0821
commit 847a09fd37
1 changed files with 4 additions and 0 deletions

View File

@ -3677,6 +3677,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++;