aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-11-28 13:33:22 +0000
committerAlan Modra <amodra@gmail.com>2000-11-28 13:33:22 +0000
commit16887944417d08b6ecedcdf183326b3c6ff7460e (patch)
treea8fb81d210bb947b40641b8c509e5c0cb6f2999f /gas
parentad95f82a093424f753c22f100ef1dc672a45faba (diff)
downloadgdb-16887944417d08b6ecedcdf183326b3c6ff7460e.zip
gdb-16887944417d08b6ecedcdf183326b3c6ff7460e.tar.gz
gdb-16887944417d08b6ecedcdf183326b3c6ff7460e.tar.bz2
Correct {STANDARD,MRI}_MUL_PRECEDENCE value.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/expr.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 19a9449..1dbdeeb 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2000-11-28 Alan Modra <alan@linuxcare.com.au>
+
+ * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
+ (MRI_MUL_PRECEDENCE): Likewise.
+ (op_rank): Fix a comment typo.
+
2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* config/tc-m68hc11.c (build_indexed_byte): Print the offset in
diff --git a/gas/expr.c b/gas/expr.c
index 8313d95..21c3d67 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 ()