orbitcowboy
10c7c70970
Activated 'make validateRules' and improved rule XML file parsing. Now, it optionally accepts '<rules>...</rules>' tags to make xmllint happy.
2022-06-22 00:03:18 +02:00
orbitcowboy
78804ca18c
Remove <rules>...</rules>, added by 52aab1e80c
which broke internal checking. In addition another internal rule was added, following up the changes from https://github.com/danmar/cppcheck/pull/4182/files
2022-06-21 16:10:50 +02:00
Wolfgang Stöggl
52aab1e80c
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">
^
2019-09-21 20:41:45 +02:00
XhmikosR
9b5c245899
tabs to spaces, remove trailing spaces and extra empty lines at the end of files
2012-09-29 13:49:16 +02:00
Raphael Geissert
2b77e3591e
Add rules for tokAt(0) and strAt(0), suggested by reif
2011-02-02 18:58:54 -06:00
Raphael Geissert
3c76dd2e3f
Yet another tweak to the regex, use ungreedy mode
2011-02-02 13:27:02 -06:00
Raphael Geissert
a9681ad4d1
Also detect useless spacing at the end of *Match calls
2011-02-02 13:27:01 -06:00
Raphael Geissert
9075ca59ca
Introduce some rules for checking cppcheck's use of Token::*Match
2011-02-02 13:27:00 -06:00