summaryrefslogtreecommitdiffstats
path: root/src/xmlcode.l
diff options
context:
space:
mode:
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);