Browse Source

get the right place for variable declaration

pre-master-46
dwarning 3 years ago
committed by Holger Vogt
parent
commit
924dc10368
  1. 6
      src/frontend/subckt.c

6
src/frontend/subckt.c

@ -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 */

Loading…
Cancel
Save