[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: quality/krazy2/extras/c++
From: Allen Winter <winter () kde ! org>
Date: 2010-06-30 21:50:31
Message-ID: 20100630215031.166ECAC8E2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1144813 by winterz:
skip lines starting with #define
M +2 -1 kdebug
--- trunk/quality/krazy2/extras/c++/kdebug #1144812:1144813
@@ -4,7 +4,7 @@
if 0; # not running under some shell
###############################################################################
# Sanity check plugin for the Krazy project. #
-# Copyright (C) 2008-2009 by Allen Winter <winter@kde.org> #
+# Copyright (C) 2008-2010 by Allen Winter <winter@kde.org> #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -85,6 +85,7 @@
$acnt = $ecnt = $mcnt = 0;
last;
}
+ next if ($line =~ m/^\s*#\s*define\s*.*/);
next if ($line =~ m+//.*[Kk]razy:exclude=.*$Prog+);
$line =~ s+//.*++; #skip C++ comments
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic