public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Momchil Velikov <velco@fadata.bg>
To: binutils@sources.redhat.com
Subject: [PATCH] Invalid token paste
Date: Wed, 17 Jul 2002 12:50:00 -0000	[thread overview]
Message-ID: <87it3e5evx.fsf@fadata.bg> (raw)

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Hi there,

The following patch fixes a couple of 
"pasting foo and bar does not give a valid preprocessing token"
errors when compiling gas/config/tc-v850.c with gcc-3.2.

~velco

[-- Attachment #2: Type: text/plain, Size: 110 bytes --]

2002-07-17  Momchil Velikov  <velco@fadata.bg>

	* config/tc-v850.c (CHECK_): Remove token pasting operator.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: Type: text/x-patch, Size: 611 bytes --]

Index: tc-v850.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-v850.c,v
retrieving revision 1.21
diff -u -d -p -r1.21 tc-v850.c
--- tc-v850.c	8 Jun 2002 07:37:16 -0000	1.21
+++ tc-v850.c	17 Jul 2002 19:27:47 -0000
@@ -1461,7 +1461,7 @@ v850_reloc_prefix (operand)
     }
 
 #define CHECK_(name, reloc) 						\
-  if (strncmp (input_line_pointer, name##"(", strlen (name) + 1) == 0)	\
+  if (strncmp (input_line_pointer, name "(", strlen (name) + 1) == 0)	\
     {									\
       input_line_pointer += strlen (name);				\
       return reloc;							\

             reply	other threads:[~2002-07-17 19:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-17 12:50 Momchil Velikov [this message]
2002-10-14  4:24 ` Alan Modra

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=87it3e5evx.fsf@fadata.bg \
    --to=velco@fadata.bg \
    --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).