Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
a2ae7eae
Commit
a2ae7eae
authored
Jul 08, 2010
by
Christian Kamm
Browse files
Qml scanner: Don't emit token for empty line in multi-line comment.
Done-with: Thomas Hartmann
parent
db9b630b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/qmljs/qmljsscanner.cpp
View file @
a2ae7eae
...
...
@@ -150,7 +150,7 @@ QList<Token> Scanner::operator()(const QString &text, int startState)
}
}
if
(
_scanComments
)
if
(
_scanComments
&&
start
!=
-
1
)
tokens
.
append
(
Token
(
start
,
index
-
start
,
Token
::
Comment
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment