diff options
Diffstat (limited to 'main/src/addins/Xml/Parser/XmlCommentState.cs')
-rw-r--r-- | main/src/addins/Xml/Parser/XmlCommentState.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/addins/Xml/Parser/XmlCommentState.cs b/main/src/addins/Xml/Parser/XmlCommentState.cs index c4ff6fb2e7..33ac93a3b1 100644 --- a/main/src/addins/Xml/Parser/XmlCommentState.cs +++ b/main/src/addins/Xml/Parser/XmlCommentState.cs @@ -64,6 +64,7 @@ namespace MonoDevelop.Xml.Parser return Parent; } else { context.LogWarning ("The string '--' should not appear within comments."); + context.StateTag = NOMATCH; }
} else { // not any part of a '-->', so make sure matching is reset |