diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-05 13:53:46 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-05 13:53:46 (GMT) |
commit | 8c42b1c0036a727194fe47a2c46230d30df374d8 (patch) | |
tree | 10c12cfea750eaf8edae00b10c9c52401ddf4031 /src | |
parent | d0cca5f0bca7ddf2b1f4681fb76132c76b59ab37 (diff) | |
parent | 3b4b75a3d31b1f177f5d500b74cc0af953c130b5 (diff) | |
download | Doxygen-8c42b1c0036a727194fe47a2c46230d30df374d8.zip Doxygen-8c42b1c0036a727194fe47a2c46230d30df374d8.tar.gz Doxygen-8c42b1c0036a727194fe47a2c46230d30df374d8.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src')
-rw-r--r-- | src/commentscan.l | 2 |
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; |