diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-31 12:21:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 12:21:10 (GMT) |
commit | 6f0b5acd1c5c6dd000151de8e6a7159dae87cfd3 (patch) | |
tree | 1c88a6427f48d65601c34f729bd138ab42878a18 /src | |
parent | da8c801a4d08baeee8007276c1f73f11c4a890ce (diff) | |
parent | 05fc04d307bc52ac7077c788de751b536032963d (diff) | |
download | Doxygen-6f0b5acd1c5c6dd000151de8e6a7159dae87cfd3.zip Doxygen-6f0b5acd1c5c6dd000151de8e6a7159dae87cfd3.tar.gz Doxygen-6f0b5acd1c5c6dd000151de8e6a7159dae87cfd3.tar.bz2 |
Merge pull request #8287 from albert-github/feature/issue_8286
issue #8286 Incorrect processing of VHDL strings
Diffstat (limited to 'src')
-rw-r--r-- | src/commentcnv.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index b92381a..b5f8e41 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -551,7 +551,7 @@ NUMBER {INTEGER_NUMBER}|{FLOAT_NUMBER} copyToOutput(yyscanner,yytext,(int)yyleng); } <SkipString>\\. { /* escaped character in string */ - if (yyextra->lang==SrcLangExt_Fortran) + if (yyextra->lang==SrcLangExt_Fortran || yyextra->lang==SrcLangExt_VHDL) { unput(yytext[1]); copyToOutput(yyscanner,yytext,1); @@ -572,7 +572,7 @@ NUMBER {INTEGER_NUMBER}|{FLOAT_NUMBER} copyToOutput(yyscanner,yytext,(int)yyleng); } <SkipChar>\\. { /* escaped character */ - if (yyextra->lang==SrcLangExt_Fortran) + if (yyextra->lang==SrcLangExt_Fortran || yyextra->lang==SrcLangExt_VHDL) { unput(yytext[1]); copyToOutput(yyscanner,yytext,1); |