summaryrefslogtreecommitdiffstats
path: root/src/xmlcode.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-04-19 08:43:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-04-19 08:43:13 (GMT)
commitbf4aee305879406d9057864ab7f8938e01ca8bd0 (patch)
treebc7a1c90054b69c15cefafde8afad6195dc03087 /src/xmlcode.l
parent2d7481801e1072bc5fa45cbb0522597fcf1e9793 (diff)
downloadDoxygen-bf4aee305879406d9057864ab7f8938e01ca8bd0.zip
Doxygen-bf4aee305879406d9057864ab7f8938e01ca8bd0.tar.gz
Doxygen-bf4aee305879406d9057864ab7f8938e01ca8bd0.tar.bz2
Removed dbus XML parser, various refinements
Diffstat (limited to 'src/xmlcode.l')
-rw-r--r--src/xmlcode.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlcode.l b/src/xmlcode.l
index ebba910..772f919 100644
--- a/src/xmlcode.l
+++ b/src/xmlcode.l
@@ -234,7 +234,7 @@ namestart [A-Za-z\200-\377_]
namechar [:A-Za-z\200-\377_0-9.-]
esc "&#"[0-9]+";"|"&#x"[0-9a-fA-F]+";"
name {namestart}{namechar}*
-comment {open}"!!--"([^-]|"-"[^-])*"--"{close}
+comment {open}"!--"([^-]|"-"[^-])*"--"{close}
data "random string"
string \"([^"&]|{esc})*\"|\'([^'&]|{esc})*\'
@@ -299,8 +299,8 @@ string \"([^"&]|{esc})*\"|\'([^'&]|{esc})*\'
}
{comment} {
// Strip off the extra '!'
- yytext++; // <
- *yytext = '<'; // replace '!' with '<'
+ // yytext++; // <
+ // *yytext = '<'; // replace '!' with '<'
startFontClass("comment");
codifyLines(yytext);