aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-10-08 21:56:37 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-10-08 21:56:37 +0000
commit854fa67d029106297f13f416333f34273ca96086 (patch)
tree2fa5a9901a81d4de31427b24d713bbd82dd09456 /gcc/cppmacro.c
parent2d8e90497beb3bfbe93cce3faef2eb0bc1fca97b (diff)
downloadgcc-854fa67d029106297f13f416333f34273ca96086.zip
gcc-854fa67d029106297f13f416333f34273ca96086.tar.gz
gcc-854fa67d029106297f13f416333f34273ca96086.tar.bz2
cppmacro.c (_cpp_create_definition): Leave comments off.
* cppmacro.c (_cpp_create_definition): Leave comments off. * cpplex.c (_cpp_lex_token): Don't save comments if skipping. * doc/cpp.texi: Update. From-SVN: r46105
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r--gcc/cppmacro.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index 0814627..9ced571 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -1396,9 +1396,6 @@ _cpp_create_definition (pfile, node)
else if (token->type != CPP_EOF && !(token->flags & PREV_WHITE))
cpp_pedwarn (pfile, "ISO C requires whitespace after the macro name");
- /* Setting it here means we don't catch leading comments. */
- pfile->state.save_comments = ! CPP_OPTION (pfile, discard_comments);
-
for (;;)
{
/* Check the stringifying # constraint 6.10.3.2.1 of