[Webkit-unassigned] [Bug 51695] check-webkit-style treated some macros with parentheses after #elif as function calls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 4 16:39:22 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=51695





--- Comment #5 from Koan-Sin Tan <koansin.tan at gmail.com>  2011-01-04 16:39:22 PST ---
(In reply to comment #4)
>
> The reason that "#if" doesn't trigger the warning is just plain luck. The line
>          not search(r'\b(if|for|foreach|while|switch|return|new|delete)\b', function_call)
> excludes it but it is thereto detect the "if" statement. It just also happens to work for the #if preprocessor directive.

Ah ha. Got it. So I'll submit a patch based on your comment

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list