Initial support for doxygen comments.

This commit is contained in:
Roberto Raggi
2009-02-20 11:52:27 +01:00
parent 4a259547fc
commit 4c5ff047f0
13 changed files with 1804 additions and 37 deletions

View File

@@ -404,7 +404,7 @@ static int startOfOperator(TextEditor::ITextEditable *editor,
tc.setPosition(pos);
static CPlusPlus::TokenUnderCursor tokenUnderCursor;
const SimpleToken tk = tokenUnderCursor(tc);
if (tk.is(T_COMMENT) || tk.isLiteral()) {
if (tk.isComment() || tk.isLiteral()) {
if (kind)
*kind = T_EOF_SYMBOL;
return pos;