From: Ian Lance Taylor Date: Wed, 16 Aug 1995 16:26:57 +0000 (+0000) Subject: * ldgram.y: Tweak casesymlist to avoid bison errors. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b2221905454ee28dec5ba7b3e1fef762f05f131;p=binutils-gdb.git * ldgram.y: Tweak casesymlist to avoid bison errors. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 7404098bb90..89bd0552004 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,7 @@ Wed Aug 16 11:45:11 1995 Ian Lance Taylor + * ldgram.y: Tweak casesymlist to avoid bison errors. + * lexsup.c (parse_args): Accept -h as a synonym for --soname, for Solaris compatibility. diff --git a/ld/ldgram.y b/ld/ldgram.y index 4967145bc0d..7e6f1e8e0b1 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -72,7 +72,7 @@ static int error_index; %type exp opt_exp_with_type mustbe_exp opt_at %type fill_opt -%type memspec_opt +%type memspec_opt casesymlist %token INT %token NAME LNAME %type length @@ -220,7 +220,7 @@ mri_abs_name_list: ; casesymlist: - /* empty */ + /* empty */ { $$ = NULL; } | NAME | casesymlist ',' NAME ;