public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: RFA/patch: gas/expr.c: LITERAL_PREFIXPERCENT_BIN
@ 2000-07-17 10:43 Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2000-07-17 10:43 UTC (permalink / raw)
  To: fche; +Cc: binutils

Hi Frank,

: 2000-07-17  Frank Ch. Eigler  <fche@redhat.com>
: 
: 	* expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
: 	is defined.

Approved.

Cheers
	Nick

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

* RFA/patch: gas/expr.c: LITERAL_PREFIXPERCENT_BIN
@ 2000-07-17  7:55 Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2000-07-17  7:55 UTC (permalink / raw)
  To: binutils

Hi -

May I commit the following patch, which adds a "%" prefix sibling for the 
recently added "$" prefix?

2000-07-17  Frank Ch. Eigler  <fche@redhat.com>

	* expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
	is defined.

Index: expr.c
===================================================================
RCS file: /cvs/src/src/gas/expr.c,v
retrieving revision 1.19
diff -p -u -r1.19 expr.c
--- expr.c	2000/06/23 10:51:28	1.19
+++ expr.c	2000/07/17 14:54:32
@@ -826,6 +826,12 @@ operand (expressionP)
       break;
 #endif
 
+#ifdef LITERAL_PREFIXPERCENT_BIN
+    case '%':
+      integer_constant (2, expressionP);
+      break;
+#endif
+
     case '0':
       /* non-decimal radix */
 

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

end of thread, other threads:[~2000-07-17 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-17 10:43 RFA/patch: gas/expr.c: LITERAL_PREFIXPERCENT_BIN Nick Clifton
  -- strict thread matches above, loose matches on Subject: below --
2000-07-17  7:55 Frank Ch. Eigler

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