inpcom.c: larger array size, debug output modified

This commit is contained in:
h_vogt 2013-05-18 08:11:09 +02:00 committed by rlar
parent 8fa71d2ae1
commit 87352b7f04
1 changed files with 2 additions and 2 deletions

View File

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