For OSDI n devices: Enable model translation,

if model has been inside subcircuit.
This commit is contained in:
Holger Vogt 2022-12-21 22:07:11 +01:00
parent 4f73f18f6d
commit 199b9deee6
1 changed files with 4 additions and 0 deletions

View File

@ -1960,7 +1960,11 @@ devmodtranslate(struct card *s, char *subname, wordlist * const orig_modnames)
s->line = copy(bxx_buffer(&buffer));
break;
/* 2 or 3 (temp) terminals for diode d, 2 or more for OSDI devices */
case 'd':
#ifdef OSDI
case 'n':
#endif
name = gettok(&t); /* get refdes */
bxx_printf(&buffer, "%s ", name);
tfree(name);