cppmacro.c (funlike_invocation_p): Move some logic to caller in enter_macro_context.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Mon, 8 Oct 2001 06:15:14 +0000 (06:15 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 8 Oct 2001 06:15:14 +0000 (06:15 +0000)
commitd6da836d4f4bd3e42be183720aaa99a9b2ee2c2e
tree7d4b34e55a9e313e9c00a7b31d4e151100a9a176
parent7f8fa05daed1a59589d41a1edbe7db47825c57c0
cppmacro.c (funlike_invocation_p): Move some logic to caller in enter_macro_context.

* cppmacro.c (funlike_invocation_p): Move some logic to caller
in enter_macro_context.  Create a padding token in its own context
if necessary when the search for '(' fails.
(enter_macro_context): Update.

* gcc.dg/cpp/spacing1.c: Update test.

From-SVN: r46070
gcc/ChangeLog
gcc/cppmacro.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/spacing1.c