diff options
author | albert-github <albert.tests@gmail.com> | 2019-01-26 15:29:45 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-01-26 15:29:45 (GMT) |
commit | e41ae81c3d3232111db340a7c11b7e8203e3bfce (patch) | |
tree | 37f31e6ab2e887932c8859b06cb716945c49f779 /src/scanner.l | |
parent | afc77213ab3662f3a7377af94d77ebee1f972bb7 (diff) | |
download | Doxygen-e41ae81c3d3232111db340a7c11b7e8203e3bfce.zip Doxygen-e41ae81c3d3232111db340a7c11b7e8203e3bfce.tar.gz Doxygen-e41ae81c3d3232111db340a7c11b7e8203e3bfce.tar.bz2 |
issue #6796 Bad link to section, subsection if pointing at item past suspicious text
To escape `\` and `@` not only `\\` and `@@` should be possible but also `\@` and `@\`
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l index cc497e3..d2c7072 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6542,7 +6542,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) // middle of a comment block docBlock+=yytext; } -<DocBlock>("@@"|"\\\\"){ID}/[^a-z_A-Z0-9] { // escaped command +<DocBlock>({CMD}{CMD}){ID}/[^a-z_A-Z0-9] { // escaped command docBlock+=yytext; } <DocBlock>{CMD}("f$"|"f["|"f{") { |