a6deae5f94
For whatever reason, pygments removes leading empty lines by default. This results in the error messages being in the wrong line, shifted by how many empty lines were removed. Adding the option "stripnl=False" as an option to the lexer constructor avoids this issue. |
||
---|---|---|
.. | ||
README.txt | ||
check.sh | ||
cppcheck-htmlreport | ||
example.cc | ||
example.xml | ||
requirements.txt | ||
setup.py | ||
test_htmlreport.py | ||
test_suppressions.txt | ||
tox.ini |
README.txt
cppcheck-htmlreport This is a little utility to generate a html report of a XML file produced by cppcheck. The utility is implemented in Python (2.7+) and requires the pygments module to generate syntax highlighted source code. If you are using a Debian based Linux system, the pygments package can be installed by following command: $ sudo apt-get install python-pygments For more information run './cppcheck-htmlreport --help'