From 05d239b748ab9053c763288570c86bda70f14952 Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 18 Jul 2014 18:02:33 +0200 Subject: [PATCH] subckt.c, doit(), rename `lcc' --> `su_deck' --- src/frontend/subckt.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index 0a3a2a212..a6e97f70a 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -549,7 +549,7 @@ doit(struct line *deck, wordlist *modnames) { char *tofree, *tofree2, *s, *t; char *scname; - struct line *lcc; + struct line *su_deck; gotone = TRUE; t = tofree = s = copy(c->li_line); /* s & t hold copy of component line */ @@ -601,19 +601,19 @@ doit(struct line *deck, wordlist *modnames) { * macro definition. */ - /* make lcc point to a copy of the .subckt definition */ - lcc = inp_deckcopy(sss->su_def); + /* make su_deck point to a copy of the .subckt definition */ + su_deck = inp_deckcopy(sss->su_def); /* Change the names of .models found in .subckts . . . */ /* prepend the translated model names to the list `modnames' */ - modnames = modtranslate(lcc, scname, modnames); + modnames = modtranslate(su_deck, scname, modnames); txfree(gettok(&t)); /* Throw out the subcircuit refdes */ /* now invoke translate, which handles the remainder of the * translation. */ - if (!translate(lcc, sss->su_args, t, scname, sss->su_name, subs, modnames)) + if (!translate(su_deck, sss->su_args, t, scname, sss->su_name, subs, modnames)) error = 1; /* Now splice the decks together. */ @@ -622,15 +622,15 @@ doit(struct line *deck, wordlist *modnames) { if (use_numparams == FALSE) { /* old style: c will drop a dangling pointer: memory leak */ if (prev_of_c) - prev_of_c->li_next = lcc; + prev_of_c->li_next = su_deck; else - deck = lcc; + deck = su_deck; } else { /* ifdef NUMPARAMS, keep the invoke line as a comment */ - c->li_next = lcc; + c->li_next = su_deck; c->li_line[0] = '*'; /* comment it out */ } - c = lcc; + c = su_deck; while (c->li_next) c = c->li_next; c->li_next = savenext;