Browse Source

chomp some warnings

pre-master-46
rlar 16 years ago
parent
commit
50ad9c548e
  1. 5
      ChangeLog
  2. 2
      src/misc/string.c
  3. 4
      src/xspice/cmpp/mod_yacc.y

5
ChangeLog

@ -1,3 +1,8 @@
2010-08-15 Robert Larice
* src/misc/string.c ,
* src/xspice/cmpp/mod_yacc.y :
chomp some warnings
2010-08-15 Robert Larice
* src/include/jobdefs.h ,
* src/include/tskdefs.h ,

2
src/misc/string.c

@ -264,7 +264,7 @@ gettok_iv(char **s)
else if (c == /*(*/')')
paren -= 1;
if (isspace(c))
*(*s)++;
(*s)++;
else {
spice_dstring_append_char( &buf, *(*s)++ ) ;
if (paren == 0) break;

4
src/xspice/cmpp/mod_yacc.y

@ -124,7 +124,7 @@ static char *subscript (Sub_Id_t sub_id)
}
/*--------------------------------------------------------------------------*/
int
static int
local_strcmpi(char *s, char *t)
/* string compare - case insensitive */
{
@ -492,7 +492,7 @@ macro : TOK_INIT
| TOK_STATIC_VAR_SIZE TOK_LPAREN id TOK_RPAREN
{int i = valid_subid ($3, STATIC_VAR);
fprintf (mod_yyout, "private->inst_var[%d]->size",
i, subscript($3));}
i);}
| TOK_OUTPUT_DELAY TOK_LPAREN subscriptable_id TOK_RPAREN
{int i = valid_subid ($3, CONN);
check_dir (i, OUT, "OUTPUT_DELAY");

Loading…
Cancel
Save