Error message where to find the missing parameter

(only if 'set ngdebug' is given).
This commit is contained in:
Holger Vogt 2020-09-26 13:12:22 +02:00
parent aa25ec7f7c
commit 644d8d0a3f
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}