improved handling of word commands if puntuation is following the word, preserved spaces at start of comment line
This commit is contained in:
parent
2a8b20785e
commit
b5dea7456b
8 changed files with 224 additions and 130 deletions
|
|
@ -154,13 +154,29 @@ public class doxygen_misc_constructs_runme {
|
|||
" @see MyClass#fun(char,float)\n" +
|
||||
"");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.cycle()",
|
||||
wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.cycle(int, java.lang.String)",
|
||||
" The next line contains expression:\n" +
|
||||
" <pre>\n" +
|
||||
" ['retVal < 10', 'g_counter == 23 && g_mode & 3']\n" +
|
||||
" </pre>\n" +
|
||||
"\n" +
|
||||
"");
|
||||
" Both words should be emphasized <b>isystem.connect</b>.\n" +
|
||||
" But not the last period. For <b>example</b>, comma should not be emphasized.\n" +
|
||||
" Similar <b>for</b>: double colon.\n" +
|
||||
"\n" +
|
||||
" Spaces at the start of line should be taken into account:\n" +
|
||||
" @param id used as prefix in log\n" +
|
||||
" statements. The default value is empty string, which is OK if\n" +
|
||||
" there is only one app. instance. Example:\n" +
|
||||
" <pre>\n" +
|
||||
" ctrl.setBP(\"func1\");\n" +
|
||||
" </pre>\n" +
|
||||
" If we set the id to <code>main_</code>, we get:\n" +
|
||||
" <pre>\n" +
|
||||
" main_ctrl.setBP(\"func1\");\n" +
|
||||
" </pre>\n" +
|
||||
"\n" +
|
||||
" @param fileName name of the log file\n");
|
||||
|
||||
|
||||
// and ask the parser to check comments for us
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue