]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
PR preprocessor/61977
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Apr 2015 17:01:50 +0000 (17:01 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Apr 2015 17:01:50 +0000 (17:01 +0000)
commita0b98841ddc88d28765891f697f6f0cf91d3bf85
treec79cf04375157868003884367ab0881cdd4beefb
parent50fc5f3c958252bc3d64254303d1f029d9b49f39
PR preprocessor/61977
* lex.c (cpp_peek_token): If peektok is CPP_EOF, back it up
with all tokens peeked by the current function.

* gcc.dg/cpp/pr61977.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221882 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/pr61977.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/lex.c