minor changes concerning void and pre-processor

This commit is contained in:
eck
1989-09-29 16:20:38 +00:00
parent 26cc87efe6
commit 4bde31f78a
22 changed files with 101 additions and 115 deletions

View File

@@ -641,14 +641,7 @@ parameter_declarator(register struct declarator *dc;)
parameter_type_list(&pl)
|
formal_list(&fm)
|
/* empty */
{
pl = new_proto();
pl->pl_type = void_type;
pl->pl_flag = PL_VOID;
}
]
]?
')'
{ add_decl_unary(dc, FUNCTION, 0, (arith)0, fm, pl);
reject_params(dc);