Browse Source
Use the actual XML comment rule for parsing XML comments. The leading delimiter is fixed as "<!--" and the trailing delimiter is fixed as "-->". In between the leading and trailing delimiters any characters other than a "-" may be used and a "-" may be used provided it's followed immediately with a non-"-" character. Now that the clear beginning and end of comments can be properly identified, there no longer needs to be a blank line following the comment -- the end delimiter serves quite unambiguously. Relax the ending match to just be end of line or end of document. This makes comments parse much more like they're expected to. Signed-off-by: Kyle J. McKay <mackyle@gmail.com>master
Kyle J. McKay
7 years ago
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue