Browse Source

.global reinstated

pre-master-46
h_vogt 17 years ago
parent
commit
25ebed0993
  1. 7
      ChangeLog
  2. 6
      src/frontend/inpcom.c

7
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

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

Loading…
Cancel
Save