diff options
author | albert-github <albert.tests@gmail.com> | 2019-04-19 16:20:52 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-04-19 16:20:52 (GMT) |
commit | 197df624c567fea2dcd948c9cfc5e5e06faedddf (patch) | |
tree | e7f5d6ec9bc6d8fb6593620ef5c33f1bc2d0694b /src/scanner.l | |
parent | cd63af1e16e6194da328d95a81b546e27b873e78 (diff) | |
download | Doxygen-197df624c567fea2dcd948c9cfc5e5e06faedddf.zip Doxygen-197df624c567fea2dcd948c9cfc5e5e06faedddf.tar.gz Doxygen-197df624c567fea2dcd948c9cfc5e5e06faedddf.tar.bz2 |
Email address not seen
In case of an email address like abc@code-factory.org we get the message like:
warning: reached end of file while inside a code block!
due to the fact that the email address contains a '-'.
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scanner.l b/src/scanner.l index 3d3c109..aa380e4 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -4625,7 +4625,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) unput(lastCopyArgChar); BEGIN( lastCommentInArgContext ); } -<CopyArgCommentLine>{CMD}("verbatim"|"latexonly"|"htmlonly"|"xmlonly"|"manonly"|"dot"|"code")/[^a-z_A-Z0-9] { // verbatim command (which could contain nested comments!) +<CopyArgCommentLine>{CMD}("verbatim"|"latexonly"|"htmlonly"|"xmlonly"|"manonly"|"dot"|"code")/[^a-z_A-Z0-9\-] { // verbatim command (which could contain nested comments!) docBlockName=&yytext[1]; fullArgString+=yytext; BEGIN(CopyArgVerbatim); @@ -4643,7 +4643,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) fullArgString+=yytext; BEGIN(CopyArgVerbatim); } -<CopyArgVerbatim>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"enddocbookonly"|"endmanonly"|"enddot"|"endcode"|"f$"|"f]"|"f}")/[^a-z_A-Z0-9] { // end of verbatim block +<CopyArgVerbatim>[\\@]("endverbatim"|"endlatexonly"|"endhtmlonly"|"endxmlonly"|"enddocbookonly"|"endmanonly"|"enddot"|"endcode"|"f$"|"f]"|"f}")/[^a-z_A-Z0-9\-] { // end of verbatim block fullArgString+=yytext; if (yytext[1]=='f') // end of formula { @@ -6563,7 +6563,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) g_nestedComment=FALSE; BEGIN(DocCopyBlock); } -<DocBlock>{CMD}("verbatim"|"latexonly"|"htmlonly"|"xmlonly"|"manonly"|"dot"|"code")/[^a-z_A-Z0-9] { // verbatim command (which could contain nested comments!) +<DocBlock>{CMD}("verbatim"|"latexonly"|"htmlonly"|"xmlonly"|"manonly"|"dot"|"code")/[^a-z_A-Z0-9\-] { // verbatim command (which could contain nested comments!) docBlock+=yytext; docBlockName=&yytext[1]; g_fencedSize=0; |