aboutsummaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-07-17 01:19:19 +0000
committerDJ Delorie <dj@redhat.com>2001-07-17 01:19:19 +0000
commit95fd336c5c8f490cddff7f13a876bb062eba19d6 (patch)
tree3dc5f326f1eb4ae5ac3d3ec59ae80e8cdbfdbe39 /binutils/rcparse.y
parent5b5d0a97846a6ff54a373f23431ba0390d78379a (diff)
downloadgdb-95fd336c5c8f490cddff7f13a876bb062eba19d6.zip
gdb-95fd336c5c8f490cddff7f13a876bb062eba19d6.tar.gz
gdb-95fd336c5c8f490cddff7f13a876bb062eba19d6.tar.bz2
* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
correct 10). * resrc.c (write_rc_resource): Likewise. * windres.h (SUBLANG_SHIFT): Define - as 10.
Diffstat (limited to 'binutils/rcparse.y')
-rw-r--r--binutils/rcparse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/rcparse.y b/binutils/rcparse.y
index 89004e7..f2378c0 100644
--- a/binutils/rcparse.y
+++ b/binutils/rcparse.y
@@ -455,7 +455,7 @@ styles:
}
| styles LANGUAGE numexpr cnumexpr
{
- sub_res_info.language = $3 | ($4 << 8);
+ sub_res_info.language = $3 | ($4 << SUBLANG_SHIFT);
}
| styles VERSIONK numexpr
{
@@ -874,7 +874,7 @@ icon:
language:
LANGUAGE numexpr cnumexpr
{
- language = $2 | ($3 << 8);
+ language = $2 | ($3 << SUBLANG_SHIFT);
}
;
@@ -1329,7 +1329,7 @@ suboptions:
| suboptions LANGUAGE numexpr cnumexpr
{
$$ = $1;
- $$.language = $3 | ($4 << 8);
+ $$.language = $3 | ($4 << SUBLANG_SHIFT);
}
| suboptions VERSIONK numexpr
{