From 87352b7f042ae724798f6863d7ceb072ef850528 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 output 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 09e1d4a5c..e2728ecef 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]; @@ -900,7 +900,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;