invoke.texi: Document accepting Else, fallthrough.

* doc/invoke.texi: Document accepting Else, fallthrough.

	* lex.c (fallthrough_comment_p): Accept Else, fallthrough.

	* c-c++-common/Wimplicit-fallthrough-23.c (foo): Add further tests.

From-SVN: r240886
This commit is contained in:
Jakub Jelinek
2016-10-08 12:54:27 +02:00
committed by Jakub Jelinek
parent 81b02905b0
commit ee19ef45ba
6 changed files with 34 additions and 9 deletions
+2
View File
@@ -1,5 +1,7 @@
2016-10-08 Jakub Jelinek <jakub@redhat.com>
* lex.c (fallthrough_comment_p): Accept Else, fallthrough.
* lex.c (fallthrough_comment_p): Extend to handle more common FALLTHRU
comment styles.