* c-exp.y: Add missing semi-colons.

* f-exp.y: Add missing semi-colons.
* m2-exp.y: Add missing semi-colons.
* p-exp.y: Add missing semi-colons.
Add empty action to start rule to avoid a type clash error when
building with bison >= 1.50.
This commit is contained in:
Theodore A. Roth
2002-11-06 22:48:25 +00:00
parent 4917946930
commit ef9441350c
5 changed files with 21 additions and 1 deletions

View File

@ -233,7 +233,8 @@ static int search_field;
start : { current_type = NULL;
search_field = 0;
}
normal_start;
normal_start {}
;
normal_start :
exp1
@ -257,11 +258,13 @@ exp : exp '^' %prec UNARY
{ write_exp_elt_opcode (UNOP_IND);
if (current_type)
current_type = TYPE_TARGET_TYPE (current_type); }
;
exp : '@' exp %prec UNARY
{ write_exp_elt_opcode (UNOP_ADDR);
if (current_type)
current_type = TYPE_POINTER_TYPE (current_type); }
;
exp : '-' exp %prec UNARY
{ write_exp_elt_opcode (UNOP_NEG); }
@ -317,6 +320,7 @@ exp : exp '['
write_exp_elt_opcode (BINOP_SUBSCRIPT);
if (current_type)
current_type = TYPE_TARGET_TYPE (current_type); }
;
exp : exp '('
/* This is to save the value of arglist_len