summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-05 13:34:08 (GMT)
committerGitHub <noreply@github.com>2019-01-05 13:34:08 (GMT)
commit3b4b75a3d31b1f177f5d500b74cc0af953c130b5 (patch)
tree58bd8a148c435deb7270c762c70796eb3fb0c889 /src
parent5d66d2ea14a173edb3d6b7ffaabd0196392fcb0f (diff)
parent3554bad481cb8890df90dd186a958d5e6de46dfd (diff)
downloadDoxygen-3b4b75a3d31b1f177f5d500b74cc0af953c130b5.zip
Doxygen-3b4b75a3d31b1f177f5d500b74cc0af953c130b5.tar.gz
Doxygen-3b4b75a3d31b1f177f5d500b74cc0af953c130b5.tar.bz2
Merge pull request #6735 from albert-github/feature/issue_6732
issue #6732 align environment for formula (\f{align}) no longer working
Diffstat (limited to 'src')
-rw-r--r--src/commentscan.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 90e7ac3..235cd7c 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -1121,6 +1121,8 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
// the {B}* in the front was added for bug620924
QCString fullMatch = QCString(yytext);
int idx = fullMatch.find('{');
+ /* handle `\f{` and `@f{` as special cases */
+ if ((idx > 1) && (yytext[idx-1] == 'f') && (yytext[idx-2] == '\\' || yytext[idx-2] =='@')) REJECT;
int idxEnd = fullMatch.find("}",idx+1);
QCString cmdName;
QCStringList optList;