diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-10 18:32:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-10 18:32:38 (GMT) |
commit | dcb70d5d46f882e905e8bcdce2428161dbd8bcff (patch) | |
tree | dc802ee0e06f82c4432d0ae6df07935c2d3b75b6 /src | |
parent | 141242a33ff7914595e08fcf1ea25f6993d55c64 (diff) | |
parent | 9ca81a7b0520ffca09818493e861b7710e1efd42 (diff) | |
download | Doxygen-dcb70d5d46f882e905e8bcdce2428161dbd8bcff.zip Doxygen-dcb70d5d46f882e905e8bcdce2428161dbd8bcff.tar.gz Doxygen-dcb70d5d46f882e905e8bcdce2428161dbd8bcff.tar.bz2 |
Merge pull request #6761 from albert-github/feature/bug_xhtml_brief
Terminating brief command
Diffstat (limited to 'src')
-rw-r--r-- | src/commentscan.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index f9cc3b1..7fab755 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -277,6 +277,8 @@ static DocCmdMap docCmdMap[] = { "verbinclude", 0, FALSE }, { "version", 0, TRUE }, { "warning", 0, TRUE }, + { "snippet", 0, TRUE }, + { "snippetlineno", 0, TRUE }, { 0, 0, FALSE } }; @@ -1191,6 +1193,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$" } } <Comment>{B}*{CMD}"f{"[^}\n]+"}"("{"?) { // start of a formula with custom environment + setOutput(OutputDoc); formulaText="\\begin"; formulaEnv=QString(yytext).stripWhiteSpace().data()+2; if (formulaEnv.at(formulaEnv.length()-1)=='{') @@ -1208,6 +1211,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$" BEGIN(ReadFormulaShort); } <Comment>{B}*{CMD}"f[" { // start of a block formula + setOutput(OutputDoc); formulaText="\\["; formulaNewLines=0; BEGIN(ReadFormulaLong); |