get the right place for variable declaration

This commit is contained in:
dwarning 2023-04-15 17:42:20 +02:00
parent 4fed4bafa1
commit 7fc90a332a
1 changed files with 3 additions and 3 deletions

View File

@ -1147,7 +1147,9 @@ translate(struct card *deck, char *formal, int flen, char *actual, char *scname,
char *next_name, *name, *t, *nametofree, *paren_ptr;
int nnodes, i, dim;
int rtn = 0;
#ifdef XSPICE
bool got_vnam = FALSE;
#endif
bxx_init(&buffer);
/* settrans builds the table holding the translated netnames. */
@ -1248,8 +1250,6 @@ translate(struct card *deck, char *formal, int flen, char *actual, char *scname,
/* gtri - add - wbk - 10/23/90 - process A devices specially */
/* since they have a more involved and variable length node syntax */
bool got_vnam = FALSE;
case 'a':
/* translate the instance name according to normal rules */