Browse Source

Error message where to find the missing parameter

(only if 'set ngdebug' is given).
pre-master-46
Holger Vogt 6 years ago
parent
commit
644d8d0a3f
  1. 2
      src/spicelib/parser/inpgval.c

2
src/spicelib/parser/inpgval.c

@ -41,6 +41,8 @@ INPgetValue(CKTcircuit *ckt, char **line, int type, INPtables *tab)
list = TMALLOC(double, 1);
tmp = INPevaluate(line, &error, 1);
if (error) {
if(ft_ngdebug)
fprintf(stderr, "\nError: Could not read parameter in front of\n %s\n", *line);
tfree(list);
return NULL;
}

Loading…
Cancel
Save