summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-05-19 12:11:23 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-05-19 12:11:23 (GMT)
commit55e5055cfbb6f8e013a894c0ec8b10771231e3ba (patch)
tree58d7a64919b99cc76fdc7120ae5d0407f3163a67 /src/commentscan.l
parent44ca9512aaeb19f7fbd07afda88ec4cfe53ce831 (diff)
downloadDoxygen-55e5055cfbb6f8e013a894c0ec8b10771231e3ba.zip
Doxygen-55e5055cfbb6f8e013a894c0ec8b10771231e3ba.tar.gz
Doxygen-55e5055cfbb6f8e013a894c0ec8b10771231e3ba.tar.bz2
Release-1.8.1
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 56c0d08..c7e36a5 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -1101,6 +1101,15 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
}
addOutput(yytext);
}
+<Comment>^{B}*([\-:|]{B}*)*("--"|"---")({B}*[\-:|])*{B}*/\n { // horizontal line (dashed)
+ addOutput(yytext);
+ }
+<Comment>"---" { // mdash
+ addOutput("&mdash;");
+ }
+<Comment>"--" { // ndash
+ addOutput("&ndash;");
+ }
<Comment>("."+)[a-z_A-Z0-9\)] { // . at start or in the middle of a word, or ellipsis
addOutput(yytext);
}