mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-04 11:09:28 +02:00
Issue this warning only when 'set ngdebug' is given.
This commit is contained in:
@@ -8552,7 +8552,7 @@ static void inp_check_syntax(struct card *deck)
|
||||
}
|
||||
}
|
||||
// nesting may be critical if params are involved
|
||||
if (nesting_once && check_subs > 0 && strchr(cut_line, '=')) {
|
||||
if (ft_ngdebug && nesting_once && check_subs > 0 && strchr(cut_line, '=')) {
|
||||
fprintf(cp_err,
|
||||
"\nWarning: Nesting of subcircuits with parameters "
|
||||
"is only marginally supported!\n\n");
|
||||
|
||||
Reference in New Issue
Block a user