chomp some warnings
This commit is contained in:
parent
73a80756d4
commit
50ad9c548e
|
|
@ -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 ,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue