Fix xml syntax in token-matching.xml (#2197)

The file token-matching.xml contains multiple rules
- Add <rules></rules> xml tags
- Fixes the following xmllint error:
  ./rules/token-matching.xml:10: parser error :
  Extra content at the end of the document
  <rule version="1">
  ^
This commit is contained in:
Wolfgang Stöggl 2019-09-21 20:41:45 +02:00 committed by Daniel Marjamäki
parent 16f1d8196b
commit 52aab1e80c
1 changed files with 34 additions and 32 deletions

View File

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<rules>
<rule version="1">
<pattern>Token :: (?:findm|(?:simple|)M)atch \([^,]+,\s+"(?:\s+|[^"]+?\s+")</pattern>
<message>
@ -32,3 +33,4 @@ without special pattern requirements.</summary>
<summary>tok->strAt(0) is a slow way to say tok->str()</summary>
</message>
</rule>
</rules>