Skip to content

Commit e2c7a0a

Browse files
Merge pull request #19 from Pip-Install-Party/officialblake-develop
fix asterisk parsing
2 parents 028bd3e + d8c85e0 commit e2c7a0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commentDFA.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ bool commentDFA::state6(std::ifstream& file, int& lineCount, std::ostringstream&
145145
if (ch == '/') { // If a slash is found, return false
146146
return false;
147147
} else {
148+
buffer << '*';
148149
file.putback(ch); // Otherwise, put the character back
149150
state0(file, lineCount, buffer); // Go to state 0
150151
return true; // And return true

0 commit comments

Comments
 (0)