* ch-exp.y (maybe_expression_list): New non-terminal.
(primitive_value): Allow empty parameter list.
This commit is contained in:
parent
7c606261da
commit
60438e8e3e
@ -1,3 +1,8 @@
|
||||
Sun Feb 12 11:03:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
|
||||
|
||||
* ch-exp.y (maybe_expression_list): New non-terminal.
|
||||
(primitive_value): Allow empty parameter list.
|
||||
|
||||
Sun Feb 12 10:02:16 1995 Per Bothner <bothner@cygnus.com>
|
||||
|
||||
* buildsym.c (finish_block): If finishing a function without known
|
||||
|
@ -367,6 +367,13 @@ expression_list : expression
|
||||
}
|
||||
;
|
||||
|
||||
maybe_expression_list: /* EMPTY */
|
||||
{
|
||||
arglist_len = 0;
|
||||
}
|
||||
| expression_list
|
||||
;
|
||||
|
||||
|
||||
/* Z.200, 5.2.1 */
|
||||
|
||||
@ -382,7 +389,7 @@ rparen : ')'
|
||||
|
||||
primitive_value :
|
||||
access_name
|
||||
| primitive_value_lparen expression_list rparen
|
||||
| primitive_value_lparen maybe_expression_list rparen
|
||||
{
|
||||
write_exp_elt_opcode (MULTI_SUBSCRIPT);
|
||||
write_exp_elt_longcst ($3);
|
||||
|
Loading…
Reference in New Issue
Block a user