mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
updates to handle white space within a single line comment
This commit is contained in:
parent
91dad385a6
commit
209201e592
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ void JSBaker::handleSingleLineComments(QTextStream * readCharacter) {
|
|||
QChar character;
|
||||
while (!readCharacter->atEnd()) {
|
||||
*readCharacter >> character;
|
||||
if (character <= '\n')
|
||||
if (character == '\n')
|
||||
break;
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue