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.
This commit is contained in:
parent
0cae4f0b6c
commit
164ed05786
|
|
@ -4672,10 +4672,10 @@ int get_number_terminals(char *c)
|
||||||
while ((i < 12) && (*cc != '\0')) {
|
while ((i < 12) && (*cc != '\0')) {
|
||||||
char* comma;
|
char* comma;
|
||||||
name[i] = gettok_instance(&cc);
|
name[i] = gettok_instance(&cc);
|
||||||
if (strstr(name[i], "off") || strchr(name[i], '='))
|
if (search_plain_identifier(name[i], "off") || strchr(name[i], '='))
|
||||||
j++;
|
j++;
|
||||||
#ifdef CIDER
|
#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++;
|
j++;
|
||||||
#endif
|
#endif
|
||||||
/* If we have IC=VBE, VCE instead of IC=VBE,VCE we need to inc
|
/* If we have IC=VBE, VCE instead of IC=VBE,VCE we need to inc
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue