From be56394222bc63bc47fa7bbbbe8b33bbba025669 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 12 May 2024 15:35:22 +0200 Subject: [PATCH] Issue this warning only when 'set ngdebug' is given. --- src/frontend/inpcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 35c99037c..a92e6b242 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -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");