aboutsummaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-09 15:21:01 +0000
committerNick Clifton <nickc@redhat.com>2002-04-09 15:21:01 +0000
commitdf3baf66cbd371d9da22a62dcc36c68da18e88c1 (patch)
treef9ef45ca0d3046bce645a6fb3e8eebd649035e70 /binutils/rcparse.y
parent9c5382a023840796fac4203aec1d070bee466fcd (diff)
downloadgdb-df3baf66cbd371d9da22a62dcc36c68da18e88c1.zip
gdb-df3baf66cbd371d9da22a62dcc36c68da18e88c1.tar.gz
gdb-df3baf66cbd371d9da22a62dcc36c68da18e88c1.tar.bz2
Apply patch from Bernd Herd to fix quoted class definitions inside dialogs.
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 152c8ee..3b8726a 100644
--- a/binutils/rcparse.y
+++ b/binutils/rcparse.y
@@ -425,6 +425,10 @@ styles:
{
dialog.exstyle = $3;
}
+ | styles CLASS QUOTEDSTRING
+ {
+ res_string_to_id (& dialog.class, $3);
+ }
| styles FONT numexpr ',' QUOTEDSTRING
{
dialog.style |= DS_SETFONT;