aboutsummaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2008-12-23 10:00:31 +0000
committerKai Tietz <kai.tietz@onevision.com>2008-12-23 10:00:31 +0000
commit16a1d66ba63229c88165fe80891513c432d86cfe (patch)
tree632de29e184a634b831a5760efd8fd4bf0ba28ab /binutils/rcparse.y
parentb06f3b1b03c7a656229a6fbded9e1b9d05a1365e (diff)
downloadgdb-16a1d66ba63229c88165fe80891513c432d86cfe.zip
gdb-16a1d66ba63229c88165fe80891513c432d86cfe.tar.gz
gdb-16a1d66ba63229c88165fe80891513c432d86cfe.tar.bz2
2008-12-23 Kai Tietz <kai.tietz@onevision.com>
* rcparse.y (rcdata_data): Allow empty comma elements.
Diffstat (limited to 'binutils/rcparse.y')
-rw-r--r--binutils/rcparse.y4
1 files changed, 4 insertions, 0 deletions
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. */