summaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-11-08 15:48:26 +0000
committerNick Clifton <nickc@redhat.com>2005-11-08 15:48:26 +0000
commitada0de7dba3b29fe35ca5f44cd68920d0c7ff25e (patch)
tree29365217604a818a03abec4f141751f8d4c137b3 /gas/as.h
parentecb5369fbe994b06228f1238b5d93f2fbc9125e5 (diff)
downloadbinutils-redhat-ada0de7dba3b29fe35ca5f44cd68920d0c7ff25e.tar.gz
* expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than flag_mri_m68k
as condition for parsing the '$' as a prefix. * as.h (DOLLAR_AMBIGU): Define if needed.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index 22377b67eb..5dad712db1 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -586,6 +586,7 @@ int generic_force_reloc (struct fix *);
#ifdef TC_M68K
/* True if we are assembling in m68k MRI mode. */
COMMON int flag_m68k_mri;
+#define DOLLAR_AMBIGU flag_m68k_mri
#else
#define flag_m68k_mri 0
#endif
@@ -596,6 +597,10 @@ COMMON unsigned int found_comment;
COMMON char * found_comment_file;
#endif
+#ifndef DOLLAR_AMBIGU
+#define DOLLAR_AMBIGU 0
+#endif
+
#ifndef NUMBERS_WITH_SUFFIX
#define NUMBERS_WITH_SUFFIX 0
#endif