INPparseNumMod(), #3/14, `continue' the loop instead of
'break'ing out of the `switch' this is equivalent because the 'switch' is the last statement in the loop body
This commit is contained in:
parent
c1c7b5305e
commit
7862a4f59f
|
|
@ -364,7 +364,7 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
|
|||
case '\n':
|
||||
/* comment or empty cards */
|
||||
lastType = E_MISSING;
|
||||
break;
|
||||
continue;
|
||||
case '+':
|
||||
/* continuation card */
|
||||
if (lastType >= 0) {
|
||||
|
|
@ -375,7 +375,7 @@ INPparseNumMod( CKTcircuit* ckt, INPmodel *model, INPtables *tab, char **errMess
|
|||
cardNum);
|
||||
err = INPerrCat(err,tmp);
|
||||
lastType = E_MISSING;
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
/* FALL THRU when continuing a card */
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in New Issue