Re: [libvirt] [PATCH 2/2] Added syntax-check rule for return with parentheses

2012-03-23 Thread Martin Kletzander
On 03/23/2012 07:21 AM, Osier Yang wrote: > On 03/22/2012 07:33 PM, Martin Kletzander wrote: >> After cleanup introduced with previous commit, there is a need for >> syntax-check rule taking care of return(). Regexp used in 'prohibit' >> parameter is taken from the cleanup commit and modified so it

Re: [libvirt] [PATCH 2/2] Added syntax-check rule for return with parentheses

2012-03-22 Thread Osier Yang
On 03/22/2012 07:33 PM, Martin Kletzander wrote: After cleanup introduced with previous commit, there is a need for syntax-check rule taking care of return(). Regexp used in 'prohibit' parameter is taken from the cleanup commit and modified so it fits 'grep -E' format. Semicolon at the end is nee

[libvirt] [PATCH 2/2] Added syntax-check rule for return with parentheses

2012-03-22 Thread Martin Kletzander
After cleanup introduced with previous commit, there is a need for syntax-check rule taking care of return(). Regexp used in 'prohibit' parameter is taken from the cleanup commit and modified so it fits 'grep -E' format. Semicolon at the end is needed, otherwise the regexp could match return with c