Skip to content

Commit bcb50ec

Browse files
Update simplecpp.cpp [skip ci]
1 parent b928752 commit bcb50ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

simplecpp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ class simplecpp::TokenList::Stream {
278278
unsigned char peekChar() {
279279
const int pk = peek();
280280
auto ch = static_cast<unsigned char>(pk);
281-
if (pk == EOF)
282-
return ch;
281+
//if (pk == EOF)
282+
//return ch;
283283

284284
// For UTF-16 encoded files the BOM is 0xfeff/0xfffe. If the
285285
// character is non-ASCII character then replace it with 0xff

0 commit comments

Comments
 (0)