Error message where to find the missing parameter
(only if 'set ngdebug' is given).
This commit is contained in:
parent
aa25ec7f7c
commit
644d8d0a3f
|
|
@ -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…
Reference in New Issue