2008-12-23 Kai Tietz <kai.tietz@onevision.com>
authorKai Tietz <kai.tietz@onevision.com>
Tue, 23 Dec 2008 10:00:31 +0000 (10:00 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Tue, 23 Dec 2008 10:00:31 +0000 (10:00 +0000)
* rcparse.y (rcdata_data): Allow empty comma elements.

binutils/ChangeLog
binutils/rcparse.y

index 241e6b0f9766a51ce7f7bf09708adb58bbee39e4..0507f627e923e01e1a85dbb72a630947abd31dff 100644 (file)
@@ -1,3 +1,7 @@
+2008-12-23  Kai Tietz  <kai.tietz@onevision.com>
+
+       * rcparse.y (rcdata_data): Allow empty comma elements.
+
 2008-12-23  Nick Clifton  <nickc@redhat.com>
 
        * objdump.c (dump_reloc_set): Remove STT_IFUNC support.
index 9b7206854086eb1495224c133888ecd55e1c9278..3276189c78db7b0e3a6990bbca39cbcfeb7b2107 100644 (file)
@@ -1248,6 +1248,10 @@ rcdata_data:
            $1.last->next = ri;
            $$.last = ri;
          }
+       | rcdata_data ','
+         {
+           $$=$1;
+         }
        ;
 
 /* Stringtable resources.  */