* ldgram.y: Tweak casesymlist to avoid bison errors.
authorIan Lance Taylor <ian@airs.com>
Wed, 16 Aug 1995 16:26:57 +0000 (16:26 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 16 Aug 1995 16:26:57 +0000 (16:26 +0000)
ld/ChangeLog
ld/ldgram.y

index 7404098bb900801ea6cc6da041e397659eb8af6d..89bd0552004f96558e5a91081ac3e46abbc37b0c 100644 (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.
 
index 4967145bc0db1654c0c8cd623c234e72f2eb329d..7e6f1e8e0b1dbda640602f57b6b95995b04b9cec 100644 (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
        ;
This page took 0.030099 seconds and 4 git commands to generate.