* ldgram.y: Tweak casesymlist to avoid bison errors.

This commit is contained in:
Ian Lance Taylor 1995-08-16 16:26:57 +00:00
parent 80fd1f4584
commit 9b22219054
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
Wed Aug 16 11:45:11 1995 Ian Lance Taylor <ian@cygnus.com>
* ldgram.y: Tweak casesymlist to avoid bison errors.
* lexsup.c (parse_args): Accept -h as a synonym for --soname, for
Solaris compatibility.

View File

@ -72,7 +72,7 @@ static int error_index;
%type <etree> exp opt_exp_with_type mustbe_exp opt_at
%type <integer> fill_opt
%type <name> memspec_opt
%type <name> memspec_opt casesymlist
%token <integer> INT
%token <name> NAME LNAME
%type <integer> length
@ -220,7 +220,7 @@ mri_abs_name_list:
;
casesymlist:
/* empty */
/* empty */ { $$ = NULL; }
| NAME
| casesymlist ',' NAME
;