From deb59762dbf568cdbcba2e8f49d2b6435e1b0ff4 Mon Sep 17 00:00:00 2001 From: dwarning Date: Sat, 27 Oct 2007 19:57:51 +0000 Subject: [PATCH] skip processing of b sources in inp_fix_param_values --- src/frontend/inpcom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index bd67945e0..2ba3f27e5 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -977,11 +977,11 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name) /* segfault fix */ #ifdef XSPICE char big_buff[5000]; + int line_count = 0; #endif char *copys=NULL, big_buff2[5000]; char *global_copy = NULL, keep_char; int line_number = 1; /* sjb - renamed to avoid confusion with struct line */ - int line_count = 0; FILE *newfp; int i, j; bool found_library, found_lib_name, found_end = FALSE, shell_eol_continuation = FALSE; @@ -2533,6 +2533,7 @@ inp_fix_param_values( struct line *deck ) if ( ciprefix( ".endc", line ) ) { control_section = FALSE; c = c->li_next; continue; } if ( control_section || ciprefix( ".option", line ) ) { c = c->li_next; continue; } + if ( *line == 'b' ) { c = c->li_next; continue; } while ( ( equal_ptr = strstr( line, "=" ) ) ) { // skip over equality '=='