aboutsummaryrefslogtreecommitdiff
path: root/gas/gasp.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-10-01 21:51:15 +0000
committerIan Lance Taylor <ian@airs.com>1996-10-01 21:51:15 +0000
commita69e5977e21d49054c4112d6919853d9f5152426 (patch)
tree2bdf33218abe7eb141950d3a7aa37c29543ac9e4 /gas/gasp.c
parent6e9efeaf72b9acc30c0a767597c086990dd43db6 (diff)
downloadgdb-a69e5977e21d49054c4112d6919853d9f5152426.zip
gdb-a69e5977e21d49054c4112d6919853d9f5152426.tar.gz
gdb-a69e5977e21d49054c4112d6919853d9f5152426.tar.bz2
* read.c (s_macro): Warn if a macro has the same name as a
pseudo-op. (s_space): In m68k MRI mode, align to a word boundary. * macro.c (define_macro): Add namep parameter. Change all callers. * macro.h (define_macro): Update declaration.
Diffstat (limited to 'gas/gasp.c')
-rw-r--r--gas/gasp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/gasp.c b/gas/gasp.c
index 8b796aa..db624f5 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -2638,7 +2638,7 @@ do_macro (idx, in)
const char *err;
int line = linecount ();
- err = define_macro (idx, in, &label, get_line);
+ err = define_macro (idx, in, &label, get_line, (const char **) NULL);
if (err != NULL)
ERROR ((stderr, "macro at line %d: %s\n", line - 1, err));
}