From 3dde05166f8c0341fcfba0d86f31efa4f98b73f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 Jan 2016 15:48:33 +0300 Subject: Check license also in .cc and .inc files. --- src/rules/license.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-60-g2f50