remove some debug code and fix some missing ;s

This commit is contained in:
Bill Currie 2002-04-27 02:51:00 +00:00
parent a59e509033
commit 98fea9ff55

View file

@ -750,6 +750,7 @@ break_label
$$ = break_label; $$ = break_label;
break_label = new_label_expr (); break_label = new_label_expr ();
} }
;
continue_label continue_label
: /* empty */ : /* empty */
@ -757,6 +758,7 @@ continue_label
$$ = continue_label; $$ = continue_label;
continue_label = new_label_expr (); continue_label = new_label_expr ();
} }
;
switch_block switch_block
: /* empty */ : /* empty */
@ -764,12 +766,14 @@ switch_block
$$ = switch_block; $$ = switch_block;
switch_block = new_switch_block (); switch_block = new_switch_block ();
} }
;
save_inits save_inits
: /* empty */ : /* empty */
{ {
$$ = save_local_inits (pr_scope); $$ = save_local_inits (pr_scope);
} }
;
opt_expr opt_expr
: expr : expr
@ -777,6 +781,7 @@ opt_expr
{ {
$$ = 0; $$ = 0;
} }
;
expr expr
: expr '=' expr { $$ = assign_expr ($1, $3); } : expr '=' expr { $$ = assign_expr ($1, $3); }
@ -835,7 +840,6 @@ const
} }
| string_val | string_val
{ {
printf ("'%s'\n", $$->e.string_val);
$$ = $1; $$ = $1;
} }
| VECTOR_VAL | VECTOR_VAL