From ada0de7dba3b29fe35ca5f44cd68920d0c7ff25e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 8 Nov 2005 15:48:26 +0000 Subject: * expr.c (operand ): Use DOLLAR_AMBIGU rather than flag_mri_m68k as condition for parsing the '$' as a prefix. * as.h (DOLLAR_AMBIGU): Define if needed. --- gas/expr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gas/expr.c') diff --git a/gas/expr.c b/gas/expr.c index a5a77718d5..c601b0af69 100644 --- a/gas/expr.c +++ b/gas/expr.c @@ -1095,10 +1095,10 @@ operand (expressionS *expressionP, enum expr_mode mode) if (! flag_m68k_mri) goto de_fault; #endif - if (flag_m68k_mri && hex_p (*input_line_pointer)) + if (DOLLAR_AMBIGU && hex_p (*input_line_pointer)) { - /* In MRI mode, '$' is also used as the prefix for a - hexadecimal constant. */ + /* In MRI mode and on Z80, '$' is also used as the prefix + for a hexadecimal constant. */ integer_constant (16, expressionP); break; } -- cgit v1.2.1