Skip to content

Commit a11813a

Browse files
committed
readfile
1 parent aa28269 commit a11813a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ void simplecpp::TokenList::readfile(std::istream &istr, const std::string &filen
629629
currentToken.erase(pos,2);
630630
++multiline;
631631
}
632-
if (multiline || startsWith(lastLine(10),"# ")) {
632+
if (multiline || isLastLinePreprocessor()) {
633633
pos = 0;
634634
while ((pos = currentToken.find('\n',pos)) != std::string::npos) {
635635
currentToken.erase(pos,1);

0 commit comments

Comments
 (0)