aboutsummaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
diff options
context:
space:
mode:
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
{