summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-04 15:48:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-04 15:48:33 +0300
commit3dde05166f8c0341fcfba0d86f31efa4f98b73f4 (patch)
tree714f4d0957c0b25fb3c8ed68f45687b682407916
parent976b43426305bae21d0b29adf6f144772f29666a (diff)
downloadmplint-3dde05166f8c0341fcfba0d86f31efa4f98b73f4.tar.gz
mplint-3dde05166f8c0341fcfba0d86f31efa4f98b73f4.tar.bz2
mplint-3dde05166f8c0341fcfba0d86f31efa4f98b73f4.tar.xz
mplint-3dde05166f8c0341fcfba0d86f31efa4f98b73f4.zip
Check license also in .cc and .inc files.
-rw-r--r--src/rules/license.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rules/license.cpp b/src/rules/license.cpp
index 0ec320e..0778831 100644
--- a/src/rules/license.cpp
+++ b/src/rules/license.cpp
@@ -25,7 +25,7 @@ bool foundManaPlus(false);
bool checkText(false);
bool foundLicenseNumber(false);
-registerRuleExt(license, "005", "(.+)[.](h|cpp)")
+registerRuleExt(license, "005", "(.+)[.](h|cpp|cc|inc)")
startRule(license)
{