public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: [patch]: Fix mul precedence in src/gas/expr.c (mri mode)
@ 2000-06-29 16:32 Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2000-06-29 16:32 UTC (permalink / raw)
  To: pjak; +Cc: binutils

Hi Peter,

: In expr.c the precedence of mul is currently the same as
: for add.  A patch to fix this problem follows.

Thanks for submitting the patch.  It looks OK, but before I apply it,
please could you confirm that you have a current copyright assignment
on file with the FSF.  (Just being paranoid!)

: PS: Is this the right way and place to submit a patch?

Yup.

: (there are quite a few more patches I would like to send...)

Fun Fun!

: +2000-06-28  Peter Jakubek  <pjak@snafu.de>
: +
: +	* expr.c: (MRI_MUL_PRECEDENCE): fix precedence
: +	for mri mode. Mul has higher precedence than add.
: +

Oh - it helps if you can submit the ChangeLog entry as plain text,
not as a patch file.  This is because the ChangeLogs get updated so
frequently that it is often impossible to automatically patch them, so
a plain text file is easier to apply.

Cheers
	Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [patch]: Fix mul precedence in src/gas/expr.c (mri mode)
@ 2000-06-28  2:58 Peter Jakubek
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Jakubek @ 2000-06-28  2:58 UTC (permalink / raw)
  To: binutils

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 ()

--

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-29 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-29 16:32 [patch]: Fix mul precedence in src/gas/expr.c (mri mode) Nick Clifton
  -- strict thread matches above, loose matches on Subject: below --
2000-06-28  2:58 Peter Jakubek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).