Browse Source

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

pre-master-46
Holger Vogt 2 years ago
parent
commit
2f5b869979
  1. 2
      src/frontend/inpcom.c

2
src/frontend/inpcom.c

@ -8552,7 +8552,7 @@ static void inp_check_syntax(struct card *deck)
} }
} }
// nesting may be critical if params are involved // 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, fprintf(cp_err,
"\nWarning: Nesting of subcircuits with parameters " "\nWarning: Nesting of subcircuits with parameters "
"is only marginally supported!\n\n"); "is only marginally supported!\n\n");

Loading…
Cancel
Save