From 16887944417d08b6ecedcdf183326b3c6ff7460e Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 28 Nov 2000 13:33:22 +0000 Subject: [PATCH] Correct {STANDARD,MRI}_MUL_PRECEDENCE value. --- gas/ChangeLog | 6 ++++++ gas/expr.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 19a944952f..1dbdeeb68b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2000-11-28 Alan Modra + + * expr.c (STANDARD_MUL_PRECEDENCE): Correct value. + (MRI_MUL_PRECEDENCE): Likewise. + (op_rank): Fix a comment typo. + 2000-11-26 Stephane Carrez * config/tc-m68hc11.c (build_indexed_byte): Print the offset in diff --git a/gas/expr.c b/gas/expr.c index 8313d95a17..21c3d67626 100644 --- a/gas/expr.c +++ b/gas/expr.c @@ -1469,7 +1469,7 @@ static operator_rankT op_rank[] = { 0, /* O_symbol */ 0, /* O_symbol_rva */ 0, /* O_register */ - 0, /* O_bit */ + 0, /* O_big */ 9, /* O_uminus */ 9, /* O_bit_not */ 9, /* O_logical_not */ @@ -1517,8 +1517,8 @@ static operator_rankT op_rank[] = { mode. Also, MRI uses a different bit_not operator, and this fixes that as well. */ -#define STANDARD_MUL_PRECEDENCE (7) -#define MRI_MUL_PRECEDENCE (5) +#define STANDARD_MUL_PRECEDENCE 8 +#define MRI_MUL_PRECEDENCE 6 void expr_set_precedence () -- 2.34.1