From 9b2221905454ee28dec5ba7b3e1fef762f05f131 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 16 Aug 1995 16:26:57 +0000 Subject: [PATCH] * ldgram.y: Tweak casesymlist to avoid bison errors. --- ld/ChangeLog | 2 ++ ld/ldgram.y | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7404098bb9..89bd055200 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 4967145bc0..7e6f1e8e0b 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 ;