(primitive_value): Allow empty parameter list.
+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
}
;
+maybe_expression_list: /* EMPTY */
+ {
+ arglist_len = 0;
+ }
+ | expression_list
+ ;
+
/* Z.200, 5.2.1 */
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);