some dead code cleanup

This commit is contained in:
Bill Currie 2001-12-06 20:05:49 +00:00
parent 3c2c4aa9e6
commit 0c2f36f9a3
3 changed files with 0 additions and 10 deletions

View file

@ -281,7 +281,6 @@ num_digits (int val)
{
int num = 1;
// printf ("%d ", val);
if (val < 0) {
num++;
val = -val;
@ -290,7 +289,6 @@ num_digits (int val)
val /= 10;
num++;
}
// printf ("%d\n", num);
return num;
}
@ -378,7 +376,6 @@ new_bind_expr (expr_t *e1, expr_t *e2)
error (e1, "internal error");
abort ();
}
// e = new_binary_expr ('b', e1, e2);
e = new_expr ();
e->type = ex_expr;
e->e.expr.op = 'b';

View file

@ -98,7 +98,6 @@ typedef struct {
%left SHL SHR
%left '+' '-'
%left '*' '/' '&' '|' '^' '%'
//%left '!' '~'
%right <op> UNARY INCOP
%right '(' '['
%left '.'
@ -424,12 +423,10 @@ statement_block
statements
: /*empty*/
{
//printf("statements: /* empty */\n");
$$ = new_block_expr ();
}
| statements statement
{
//printf("statements: statements statement\n");
$$ = append_expr ($1, $2);
}
;

View file

@ -254,10 +254,6 @@ WriteData (int crc)
dd->ofs = def->ofs;
}
// PrintStrings ();
// PrintFunctions ();
// PrintFields ();
// PrintGlobals ();
strofs = (strofs + 3) & ~3;
if (options.verbosity >= 0) {