skip processing of b sources in inp_fix_param_values
This commit is contained in:
parent
f4a3add493
commit
deb59762db
|
|
@ -977,11 +977,11 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name)
|
||||||
/* segfault fix */
|
/* segfault fix */
|
||||||
#ifdef XSPICE
|
#ifdef XSPICE
|
||||||
char big_buff[5000];
|
char big_buff[5000];
|
||||||
|
int line_count = 0;
|
||||||
#endif
|
#endif
|
||||||
char *copys=NULL, big_buff2[5000];
|
char *copys=NULL, big_buff2[5000];
|
||||||
char *global_copy = NULL, keep_char;
|
char *global_copy = NULL, keep_char;
|
||||||
int line_number = 1; /* sjb - renamed to avoid confusion with struct line */
|
int line_number = 1; /* sjb - renamed to avoid confusion with struct line */
|
||||||
int line_count = 0;
|
|
||||||
FILE *newfp;
|
FILE *newfp;
|
||||||
int i, j;
|
int i, j;
|
||||||
bool found_library, found_lib_name, found_end = FALSE, shell_eol_continuation = FALSE;
|
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 ( ciprefix( ".endc", line ) ) { control_section = FALSE; c = c->li_next; continue; }
|
||||||
if ( control_section || ciprefix( ".option", line ) ) { 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, "=" ) ) ) {
|
while ( ( equal_ptr = strstr( line, "=" ) ) ) {
|
||||||
|
|
||||||
// skip over equality '=='
|
// skip over equality '=='
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue