aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-03-17 10:06:18 +0100
committerJan Beulich <jbeulich@suse.com>2023-03-17 10:06:18 +0100
commit1250cd639016e5567ba8214acf8bf81e8a3ce2db (patch)
treea64dd97a7c88e61e9f0dc8b5c550604fd23d100d /gas/read.c
parentdc3f65f030628a779318ac75d7ec572f16d61132 (diff)
downloadgdb-1250cd639016e5567ba8214acf8bf81e8a3ce2db.zip
gdb-1250cd639016e5567ba8214acf8bf81e8a3ce2db.tar.gz
gdb-1250cd639016e5567ba8214acf8bf81e8a3ce2db.tar.bz2
gas: expose flag_macro_alternate globally
Yet again with the removal of gasp about 20 years ago this extra level of indirection isn't necessary anymore either. Drop macro.c's local variable and make as.c's global. While doing the conversion, switch the variable to "bool".
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index 11ceafb..ac39fc9 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1616,7 +1616,7 @@ static void
s_altmacro (int on)
{
demand_empty_rest_of_line ();
- macro_set_alternate (on);
+ flag_macro_alternate = on;
}
/* Read a symbol name from input_line_pointer.