Introduced T_CPP_COMMENT and T_CPP_DOXY_COMMENT to handle C++-style comments and improved CPPEditor::isInComment to handle the newly introduced tokens.

As side effect,this change should fix the regression we introduced in the "automagically" quote/brace insertion.
This commit is contained in:
Roberto Raggi
2009-09-29 11:34:11 +02:00
parent 1ce92c0ed6
commit e40cd82f8c
6 changed files with 19 additions and 5 deletions

View File

@@ -54,6 +54,7 @@ CPLUSPLUS_BEGIN_NAMESPACE
static const char *token_names[] = {
(""), ("<error>"),
("<C++ comment>"), ("<C++ doxy comment>"),
("<comment>"), ("<doxy comment>"),
("<identifier>"), ("<numeric literal>"), ("<char literal>"),