summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-09-01 19:10:04 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-09-01 19:10:04 (GMT)
commitd3d9dd8540ec159de080859c8f34a2581c4147f0 (patch)
tree1cdc8cf2c08529fad69f4d7c3f3c1e2516a31158 /src/code.l
parent075771fd46ee7e6e4c7572b84cff194e887eddf4 (diff)
downloadDoxygen-d3d9dd8540ec159de080859c8f34a2581c4147f0.zip
Doxygen-d3d9dd8540ec159de080859c8f34a2581c4147f0.tar.gz
Doxygen-d3d9dd8540ec159de080859c8f34a2581c4147f0.tar.bz2
issue #7995: Doxygen doesn't handle very simple example in the .md file
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/code.l b/src/code.l
index 003a1c5..821a91d 100644
--- a/src/code.l
+++ b/src/code.l
@@ -2285,6 +2285,10 @@ NUMBER {INTEGER_NUMBER}|{FLOAT_NUMBER}
yyextra->yyColNr++;
codifyLines(yyscanner,yytext);
}
+<*>[\x80-\xFF]* { // keep utf8 characters together...
+ yyextra->yyColNr+=yyleng;
+ yyextra->code->codify(yytext);
+ }
<*>. {
yyextra->yyColNr++;
yyextra->code->codify(yytext);