Commit 7c32404c by Kaveh R. Ghazi Committed by Zack Weinberg

cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.

2000-04-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.

From-SVN: r32910
parent c2e407f1
2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
* calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
......
......@@ -122,7 +122,8 @@ SCCS_ENTRY
instead of void, because some old compilers have trouble with
pointers to functions returning void. */
#define D(name, t, o) static int CONCAT2(do_, name) PARAMS ((cpp_reader *));
/* Don't invoke CONCAT2 with any whitespace or K&R cc will fail. */
#define D(name, t, o) static int CONCAT2(do_,name) PARAMS ((cpp_reader *));
DIRECTIVE_TABLE
#undef D
......@@ -134,8 +135,9 @@ enum
};
#undef D
/* Don't invoke CONCAT2 with any whitespace or K&R cc will fail. */
#define D(name, t, origin) \
{ CONCAT2(do_, name), STRINGX(name), sizeof STRINGX(name) - 1, origin },
{ CONCAT2(do_,name), STRINGX(name), sizeof STRINGX(name) - 1, origin },
static const struct directive dtable[] =
{
DIRECTIVE_TABLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment