[patch]: Fix mul precedence in src/gas/expr.c (mri mode)
Peter Jakubek
pjak@snafu.de
Wed Jun 28 02:58:00 GMT 2000
Hi!
In expr.c the precedence of mul is currently the same as
for add.
A patch to fix this problem follows.
PS: Is this the right way and place to submit a patch?
(there are quite a few more patches I would like to send...)
Thanks,
Peter Jakubek
LaserAnimation Sollinger GmbH
pjak@snafu.de
Index: src/gas/ChangeLog
===================================================================
RCS file: /cvs/src/src/gas/ChangeLog,v
retrieving revision 1.427
diff -U0 -r1.427 ChangeLog
--- ChangeLog 2000/06/27 18:21:39 1.427
+++ ChangeLog 2000/06/28 09:44:15
@@ -0,0 +1,5 @@
+2000-06-28 Peter Jakubek <pjak@snafu.de>
+
+ * expr.c: (MRI_MUL_PRECEDENCE): fix precedence
+ for mri mode. Mul has higher precedence than add.
+
Index: src/gas/expr.c
===================================================================
RCS file: /cvs/src/src/gas/expr.c,v
retrieving revision 1.19
diff -U3 -r1.19 expr.c
--- expr.c 2000/06/23 10:51:28 1.19
+++ expr.c 2000/06/28 09:43:40
@@ -1535,7 +1535,7 @@
that as well. */
#define STANDARD_MUL_PRECEDENCE (7)
-#define MRI_MUL_PRECEDENCE (5)
+#define MRI_MUL_PRECEDENCE (6)
void
expr_set_precedence ()
--
More information about the Binutils
mailing list