From e1c8dc543934f099b3147010c51e2f3d5987d5e1 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 18 May 2013 08:11:09 +0200 Subject: [PATCH] inpcom.c: larger array size, debug otuput modified --- src/frontend/inpcom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index a8abd8ede..b91caefbc 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -39,7 +39,7 @@ Author: 1985 Wayne A. Christopher #define N_SECTIONS 1000 #define N_FUNCS 1000 #define N_PARAMS 1000 -#define N_SUBCKT_W_PARAMS 1000 +#define N_SUBCKT_W_PARAMS 4000 static char *library_name[N_LIBRARY]; static char *section_name[N_LIBRARY][N_SECTIONS]; @@ -896,7 +896,7 @@ inp_readall(FILE *fp, int call_depth, char *dir_name, bool comfile, bool intfile no_braces = braces_per_line; } - if (ft_ngdebug) { + if ((ft_ngdebug) && (call_depth == 0)) { /*debug: print into file*/ FILE *fd = fopen("debug-out.txt", "w"); struct line *t;