forked from boostorg/wave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reporting missing #endif when there is no new line after #if or #…
…else
- Loading branch information
Showing
4 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/*============================================================================= | ||
Boost.Wave: A Standard compliant C++ preprocessor library | ||
http://www.boost.org/ | ||
Copyright (c) 2017 Abel Sinkovics. Distributed under the Boost | ||
Software License, Version 1.0. (See accompanying file | ||
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
=============================================================================*/ | ||
|
||
//O --c++11 | ||
|
||
//E t_7_004.cpp(14): error: detected at least one missing #endif directive | ||
|
||
#if 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/*============================================================================= | ||
Boost.Wave: A Standard compliant C++ preprocessor library | ||
http://www.boost.org/ | ||
Copyright (c) 2017 Abel Sinkovics. Distributed under the Boost | ||
Software License, Version 1.0. (See accompanying file | ||
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
=============================================================================*/ | ||
|
||
//O --c++11 | ||
|
||
//E t_7_005.cpp(15): error: detected at least one missing #endif directive | ||
|
||
#if 0 | ||
#else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters