diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-09-28 18:54:57 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-09-28 18:54:57 (GMT) |
commit | 7b38eb9f5ca2c324c76f5d3b53dedfb2bd6486a0 (patch) | |
tree | 49bbfc50150f8734b5b10c2f0ea81182413c8bb7 /src/commentscan.l | |
parent | ec8cd7293a58213bac5967a3a3ccc7dc55ba19fe (diff) | |
download | Doxygen-7b38eb9f5ca2c324c76f5d3b53dedfb2bd6486a0.zip Doxygen-7b38eb9f5ca2c324c76f5d3b53dedfb2bd6486a0.tar.gz Doxygen-7b38eb9f5ca2c324c76f5d3b53dedfb2bd6486a0.tar.bz2 |
Release-1.5.7
Diffstat (limited to 'src/commentscan.l')
-rw-r--r-- | src/commentscan.l | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index 1500f49..8c8aa2e 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -207,7 +207,7 @@ static DocCmdMap docCmdMap[] = { "author", 0, TRUE }, { "authors", 0, TRUE }, { "copydoc", 0, TRUE }, - { "copybrief", 0, TRUE }, + { "copybrief", 0, FALSE }, { "copydetails", 0, TRUE }, { "date", 0, TRUE }, { "dotfile", 0, TRUE }, @@ -974,6 +974,11 @@ RCSTAG "$"{ID}":"[^\n$]+"$" <Comment>{CMD}"f{"[^}\n]+"}"("{"?) { // start of a formula with custom environment formulaText="\\begin"; formulaEnv=&yytext[2]; + if (formulaEnv.at(formulaEnv.length()-1)=='{') + { + // remove trailing open brace + formulaEnv=formulaEnv.left(formulaEnv.length()-1); + } formulaText+=formulaEnv; formulaNewLines=0; BEGIN(ReadFormulaLong); |