Skip to content

Commit c635e40

Browse files
glankkdanmar
andauthored
Update simplecpp.cpp
Co-authored-by: Daniel Marjamäki <daniel.marjamaki@gmail.com>
1 parent a15b152 commit c635e40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ void simplecpp::TokenList::readfile(Stream &stream, const std::string &filename,
10221022
location.adjust(currentToken);
10231023
}
10241024

1025-
if ((cstd != CUnknown || (cstd == CUnknown && cppstd == CPPUnknown)) && !trailing_nl && outputList) {
1025+
if ((cstd != CUnknown || cppstd == CPPUnknown) && !trailing_nl && outputList) {
10261026
Output err{
10271027
Output::PORTABILITY_NO_EOF_NEWLINE,
10281028
location,

0 commit comments

Comments
 (0)