[svn:parrot] r36766 - trunk/t/codingstd
rurban at svn.parrot.org
rurban at svn.parrot.org
Sun Feb 15 17:02:33 UTC 2009
Author: rurban
Date: Sun Feb 15 17:02:32 2009
New Revision: 36766
URL: https://trac.parrot.org/parrot/changeset/36766
Log:
[cage] TRACE_PRINTF exception
Modified:
trunk/t/codingstd/c_macro_args.t
Modified: trunk/t/codingstd/c_macro_args.t
==============================================================================
--- trunk/t/codingstd/c_macro_args.t Sun Feb 15 16:56:01 2009 (r36765)
+++ trunk/t/codingstd/c_macro_args.t Sun Feb 15 17:02:32 2009 (r36766)
@@ -86,6 +86,9 @@
# eliminate macros that deal with flags, since they're special
next if $macro =~ m/(TEST|SET|CLEAR)$/;
+ # skip those two varargs macros, already called as TRACE_PRINTF((args))
+ next if $macro =~ m/^TRACE_PRINTF(_VAL)?$/;
+
# Any remaining usage must be improper
if ($definition =~ m/\b\Q$arg\E\b/) {
push (@defines, "$path: $macro has unwrapped arg: $arg\n");
More information about the parrot-commits
mailing list