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:
rlar 2016-07-10 17:09:49 +02:00
parent c1c7b5305e
commit 7862a4f59f
1 changed files with 2 additions and 2 deletions

View File

@ -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: