From 16a1d66ba63229c88165fe80891513c432d86cfe Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Tue, 23 Dec 2008 10:00:31 +0000 Subject: 2008-12-23 Kai Tietz * rcparse.y (rcdata_data): Allow empty comma elements. --- binutils/ChangeLog | 4 ++++ binutils/rcparse.y | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 241e6b0..0507f62 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2008-12-23 Kai Tietz + + * rcparse.y (rcdata_data): Allow empty comma elements. + 2008-12-23 Nick Clifton * objdump.c (dump_reloc_set): Remove STT_IFUNC support. diff --git a/binutils/rcparse.y b/binutils/rcparse.y index 9b72068..3276189 100644 --- a/binutils/rcparse.y +++ b/binutils/rcparse.y @@ -1248,6 +1248,10 @@ rcdata_data: $1.last->next = ri; $$.last = ri; } + | rcdata_data ',' + { + $$=$1; + } ; /* Stringtable resources. */ -- cgit v1.1