public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: binutils@sources.redhat.com
Subject: RFA/patch: gas/expr.c: LITERAL_PREFIXPERCENT_BIN
Date: Mon, 17 Jul 2000 07:55:00 -0000	[thread overview]
Message-ID: <20000717105509.A3991@redhat.com> (raw)

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 */
 

             reply	other threads:[~2000-07-17  7:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-17  7:55 Frank Ch. Eigler [this message]
2000-07-17 10:43 Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000717105509.A3991@redhat.com \
    --to=fche@redhat.com \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).