We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b928752 commit bcb50ecCopy full SHA for bcb50ec
1 file changed
simplecpp.cpp
@@ -278,8 +278,8 @@ class simplecpp::TokenList::Stream {
278
unsigned char peekChar() {
279
const int pk = peek();
280
auto ch = static_cast<unsigned char>(pk);
281
- if (pk == EOF)
282
- return ch;
+ //if (pk == EOF)
+ //return ch;
283
284
// For UTF-16 encoded files the BOM is 0xfeff/0xfffe. If the
285
// character is non-ASCII character then replace it with 0xff
0 commit comments