Commit 16deb3fb by Zack Weinberg Committed by Dave Brolley

cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an error.

Wed Dec 23 17:30:18 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an
	error.

From-SVN: r24484
parent 0ded1f18
...@@ -198,6 +198,11 @@ Thu Dec 24 10:39:57 1998 Stan Cox <scox@cygnus.com> ...@@ -198,6 +198,11 @@ Thu Dec 24 10:39:57 1998 Stan Cox <scox@cygnus.com>
* gcc.c (execute): Enable -pipe with win32. * gcc.c (execute): Enable -pipe with win32.
Wed Dec 23 17:30:18 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an
error.
Wed Dec 23 10:27:44 1998 Nick Clifton <nickc@cygnus.com> Wed Dec 23 10:27:44 1998 Nick Clifton <nickc@cygnus.com>
* config/arm/t-arm-elf: Add multiplib option for leading * config/arm/t-arm-elf: Add multiplib option for leading
......
...@@ -3309,7 +3309,7 @@ do_undef (pfile, keyword) ...@@ -3309,7 +3309,7 @@ do_undef (pfile, keyword)
name[limit - buf] = '\0'; name[limit - buf] = '\0';
token = get_directive_token (pfile); token = get_directive_token (pfile);
if (token != CPP_VSPACE) if (token != CPP_VSPACE && token != CPP_POP)
{ {
cpp_pedwarn (pfile, "junk on line after #undef"); cpp_pedwarn (pfile, "junk on line after #undef");
skip_rest_of_line (pfile); skip_rest_of_line (pfile);
......
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