Commit a45505d8 by DJ Delorie Committed by DJ Delorie

opt-functions.awk (var_set): Emit proper initializer for non-target bitfields.

* opt-functions.awk (var_set): Emit proper initializer for
non-target bitfields.

From-SVN: r98962
parent d8955e4b
2005-04-28 DJ Delorie <dj@redhat.com>
* opt-functions.awk (var_set): Emit proper initializer for
non-target bitfields.
2005-04-28 Devang Patel <dpatel@apple.com>
* dbxout.c (have_used_extensions): Remove.
......
......@@ -97,8 +97,13 @@ function var_set(flags)
if (s != "")
return "CLVC_EQUAL, " s
s = opt_args("Mask", flags);
if (s != "")
return "CLVC_BIT_SET, MASK_" s
if (s != "") {
vn = var_name(flags);
if (vn)
return "CLVC_BIT_SET, OPTION_MASK_" s
else
return "CLVC_BIT_SET, MASK_" s
}
s = nth_arg(0, opt_args("InverseMask", flags));
if (s != "")
return "CLVC_BIT_CLEAR, MASK_" s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment