re PR preprocessor/61977 (powerpc preprocessor breaks on lines that end with "vector")

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.

From-SVN: r221882
This commit is contained in:
Jakub Jelinek
2015-04-06 19:01:50 +02:00
committed by Jakub Jelinek
parent 6f0250431c
commit e4b33ee5e4
4 changed files with 20 additions and 2 deletions
+6
View File
@@ -1,3 +1,9 @@
2015-04-06 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/61977
* lex.c (cpp_peek_token): If peektok is CPP_EOF, back it up
with all tokens peeked by the current function.
2015-04-02 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/61977