Browse Source

enable 'off', 'print', 'save' being part of a node name.

Only plain 'off' (case of bipolar), or 'print', 'save'
(in case of CIDER) will not be allowed.
pre-master-46
Holger Vogt 3 years ago
parent
commit
164ed05786
  1. 4
      src/frontend/inpcom.c

4
src/frontend/inpcom.c

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

Loading…
Cancel
Save