inpcom.c, get_number_terminals(), ignore "save" and "print" when CIDER
This commit is contained in:
parent
f110d67642
commit
f7c0dd0c4c
|
|
@ -3735,6 +3735,10 @@ get_number_terminals(char *c)
|
||||||
name[i] = gettok_instance(&c);
|
name[i] = gettok_instance(&c);
|
||||||
if (strstr(name[i], "off") || strchr(name[i], '='))
|
if (strstr(name[i], "off") || strchr(name[i], '='))
|
||||||
j++;
|
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 we have IC=VBE, VCE instead of IC=VBE,VCE we need to inc j */
|
||||||
if ((comma = strchr(name[i], ',')) != NULL && (*(++comma) == '\0'))
|
if ((comma = strchr(name[i], ',')) != NULL && (*(++comma) == '\0'))
|
||||||
j++;
|
j++;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue