[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/6] qdict: Add convenience helpers for wrapp
Re: [Qemu-devel] [PATCH v2 2/6] qdict: Add convenience helpers for wrapped puts
Wed, 5 Apr 2017 13:54:24 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 05/04/2017 11:01, Richard W.M. Jones wrote:
> On Wed, Apr 05, 2017 at 10:38:37AM +0200, Julia Lawall wrote:
>> OK, there is nothing special about g_assert_cmpint, but Coccinelle expects
>> expressions or types in function argument lists, so it gives a parse error
>> on finding an ==.
> I should have checked the coccinelle mailing list before asking you,
> because I see that Eric already asked this question and you answered
> it. For reference, that is here:
> Thanks again,
Eric, are you using the scripts/cocci-macro-file.h?
Author: Paolo Bonzini <address@hidden>
Date: Wed May 18 11:11:55 2016 +0200
coccinelle: add g_assert_cmp* to macro file
This helps applying semantic patches to unit tests.
Signed-off-by: Paolo Bonzini <address@hidden>