diff --git a/ChangeLog b/ChangeLog index e78c1faf2..6a78efe60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ +2009-09-16 Holger Vogt + * inpcom.c: .global was diabled, reinstated + 2009-09-15 Holger Vogt -* winmain.c: will output the time required for the setup stages, - if compiled with preprocessor flag NGDEBUG + * winmain.c: will output the time required for the setup stages, + if compiled with preprocessor flag NGDEBUG 2009-09-09 Holger Vogt * inp.c: comments added, .TEMP evaluation before numparam parsing diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 1c455fa41..7c2ae771d 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1308,7 +1308,9 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name) *buffer = '*'; } - if ( ciprefix( ".global", buffer ) ) { + /* removed because code changes .global to *global before it will be + expanded by inp_subcktexpand() in subckt.c */ + /* if ( ciprefix( ".global", buffer ) ) { for ( s = buffer; *s && !isspace(*s); s++ ); if ( global == NULL ) { @@ -1321,7 +1323,7 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name) } *buffer = '*'; } - +*/ if ( shell_eol_continuation ) { char *new_buffer = tmalloc( strlen(buffer) + 2); sprintf( new_buffer, "+%s", buffer );