aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-16 16:26:57 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-16 16:26:57 +0000
commit9b2221905454ee28dec5ba7b3e1fef762f05f131 (patch)
treeabe3be31ecf3c1e576a436b9ff8ecb9b02ce0ee8 /ld/ldgram.y
parent80fd1f4584013dfa2431a443a93de5afe95668be (diff)
downloadgdb-9b2221905454ee28dec5ba7b3e1fef762f05f131.zip
gdb-9b2221905454ee28dec5ba7b3e1fef762f05f131.tar.gz
gdb-9b2221905454ee28dec5ba7b3e1fef762f05f131.tar.bz2
* ldgram.y: Tweak casesymlist to avoid bison errors.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index 4967145..7e6f1e8 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -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
;