Commit a363c306 authored by Dominik Haumann's avatar Dominik Haumann

backport cstyle indenter fix for misdetected doxygen comments

parent d508fb00
......@@ -297,7 +297,9 @@ function tryCComment(line)
}
} else if (char1 == '*') {
var commentLine = currentLine;
while (commentLine >= 0 && document.firstChar(commentLine) == '*') {
while (commentLine >= 0 && document.firstChar(commentLine) == '*'
&& !document.endsWith(commentLine, "*/", true)
) {
--commentLine;
}
if (commentLine < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment