.global reinstated

This commit is contained in:
h_vogt 2009-09-16 20:58:37 +00:00
parent c84522b842
commit 25ebed0993
2 changed files with 9 additions and 4 deletions

View File

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

View File

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