[tools] Add another extension for c++ files.

This commit is contained in:
Andrew Hamilton 2016-12-01 13:34:00 +01:00
parent 6f266b26ac
commit cf128bc0c3
2 changed files with 3 additions and 2 deletions

View file

@ -34,7 +34,7 @@ Extensions | Tools
.java | [uncrustify](http://uncrustify.sourceforge.net/)
.c .h | [c_syntax_gcc](https://gcc.gnu.org/) • [c_syntax_clang](http://clang.llvm.org/) • [splint](http://www.splint.org/) • [uncrustify](http://uncrustify.sourceforge.net/)
.o | [objdump_headers](https://en.wikipedia.org/wiki/Objdump) • [objdump_disassemble](https://en.wikipedia.org/wiki/Objdump) • [readelf](https://en.wikipedia.org/wiki/Objdump)
.cc .cpp | [cpp_syntax_gcc](https://gcc.gnu.org/) • [cpp_syntax_clang](http://clang.llvm.org/) • bcpp • [uncrustify](http://uncrustify.sourceforge.net/)
.cc .cpp .hpp | [cpp_syntax_gcc](https://gcc.gnu.org/) • [cpp_syntax_clang](http://clang.llvm.org/) • bcpp • [uncrustify](http://uncrustify.sourceforge.net/)
.pdf | [pdf2txt](http://www.unixuser.org/~euske/python/pdfminer/)
.html | [html_syntax](http://www.html-tidy.org/) • [tidy](http://www.html-tidy.org/) • [html2text](http://www.mbayer.de/html2text/)
.php | [php5_syntax](https://en.wikipedia.org/wiki/PHP)

View file

@ -780,7 +780,8 @@ TOOLS_FOR_EXTENSIONS = \
(["java"], [uncrustify]),
(["c", "h"], [c_syntax_gcc, c_syntax_clang, splint, uncrustify]),
(["o"], [objdump_headers, objdump_disassemble, readelf]),
(["cc", "cpp"], [cpp_syntax_gcc, cpp_syntax_clang, bcpp, uncrustify]),
(["cc", "cpp", "hpp"], [cpp_syntax_gcc, cpp_syntax_clang, bcpp,
uncrustify]),
(["pdf"], [pdf2txt]),
(["html"], [html_syntax, tidy, html2text]),
(["php"], [php5_syntax]),