summaryrefslogtreecommitdiff
path: root/gas/macro.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-08-13 19:53:52 +0000
committerNick Clifton <nickc@redhat.com>2004-08-13 19:53:52 +0000
commitee5b2675e08ed404e9d923c8974e6acf98a7cca4 (patch)
tree2b61b17eb4eacc59cd0f82912901f0bfe977fd9a /gas/macro.c
parenta439704cb84beb01f712f0e7fabb428f49e33959 (diff)
downloadbinutils-redhat-ee5b2675e08ed404e9d923c8974e6acf98a7cca4.tar.gz
Add and handle new --alternate command line option.
Diffstat (limited to 'gas/macro.c')
-rw-r--r--gas/macro.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/macro.c b/gas/macro.c
index 09917443a1..1a89cc81de 100644
--- a/gas/macro.c
+++ b/gas/macro.c
@@ -132,6 +132,15 @@ macro_init (int alternate, int mri, int strip_at,
macro_expr = expr;
}
+/* Switch in and out of alternate mode on the fly. */
+
+void
+macro_set_alternate(alternate)
+ int alternate;
+{
+ macro_alternate = alternate;
+}
+
/* Switch in and out of MRI mode on the fly. */
void