public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Invalid token paste
@ 2002-07-17 12:50 Momchil Velikov
  2002-10-14  4:24 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Momchil Velikov @ 2002-07-17 12:50 UTC (permalink / raw)
  To: binutils

[-- 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;							\

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

end of thread, other threads:[~2002-10-14 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-17 12:50 [PATCH] Invalid token paste Momchil Velikov
2002-10-14  4:24 ` Alan Modra

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