This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Invalid token paste
- From: Momchil Velikov <velco at fadata dot bg>
- To: binutils at sources dot redhat dot com
- Date: 17 Jul 2002 22:32:50 +0300
- Subject: [PATCH] Invalid token paste
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
2002-07-17 Momchil Velikov <velco@fadata.bg>
* config/tc-v850.c (CHECK_): Remove token pasting operator.
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; \