diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-09-02 09:58:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 09:58:45 (GMT) |
commit | 72591fd5ecc2aef1c6809fb8ce405f2326ec4ae2 (patch) | |
tree | 12688aa303cb0dc55af4d0c934dc01bc45213e96 | |
parent | c4a766d5fbadc7830b7163459d8e28b912f6a398 (diff) | |
parent | 7c429806b072dd8bf777d93035ffda817976adc0 (diff) | |
download | Doxygen-72591fd5ecc2aef1c6809fb8ce405f2326ec4ae2.zip Doxygen-72591fd5ecc2aef1c6809fb8ce405f2326ec4ae2.tar.gz Doxygen-72591fd5ecc2aef1c6809fb8ce405f2326ec4ae2.tar.bz2 |
Merge pull request #7997 from albert-github/feature/issue_7995
issue #7995 Doxygen doesn't handle very simple example in the .md file
-rw-r--r-- | src/fortrancode.l | 11 | ||||
-rw-r--r-- | src/sqlcode.l | 3 | ||||
-rw-r--r-- | src/vhdlcode.l | 3 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l index 4951001..5d036e8 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -1272,6 +1272,17 @@ LANGUAGE_BIND_SPEC BIND{BS}"("{BS}C{BS}(,{BS}NAME{BS}"="{BS}"\""(.*)"\""{BS})?") } <*>^{BS}"type"{BS}"=" { g_code->codify(yytext); } +<*>[\x80-\xFF]* { // keep utf8 characters together... + if (g_isFixedForm && yy_my_start > fixedCommentAfter) + { + startFontClass("comment"); + codifyLines(yytext); + } + else + { + g_code->codify(yytext); + } + } <*>. { if (g_isFixedForm && yy_my_start > fixedCommentAfter) { diff --git a/src/sqlcode.l b/src/sqlcode.l index 58a2fce..22a5e17 100644 --- a/src/sqlcode.l +++ b/src/sqlcode.l @@ -190,6 +190,9 @@ commentclose "\*/" codifyLines(yytext,yyscanner); } +[\x80-\xFF]* { // keep utf8 characters together... + codifyLines(yytext,yyscanner); + } . { codifyLines(yytext,yyscanner); } diff --git a/src/vhdlcode.l b/src/vhdlcode.l index 808e5a2..dcace05 100644 --- a/src/vhdlcode.l +++ b/src/vhdlcode.l @@ -1497,6 +1497,9 @@ XILINX "INST"|"NET"|"PIN"|"BLKNM"|"BUFG"|"COLLAPSE"|"CPLD"|"COMPGRP"|"CONFI BEGIN(Bases); } +<*>[\x80-\xFF]* { // keep utf8 characters together... + g_code->codify(vhdlcodeYYtext); + } <*>. { g_code->codify(vhdlcodeYYtext); } |