Issue this warning only when 'set ngdebug' is given.

This commit is contained in:
Holger Vogt 2024-05-12 15:35:22 +02:00
parent 4072b9aab2
commit be56394222
1 changed files with 1 additions and 1 deletions

View File

@ -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");