Re: [PATCH wayland] scanner: Fail on empty enumerations

2015-03-20 Thread Hardening
Le 19/03/2015 09:58, Jonas Ådahl a écrit : > Without this patch, the scanner would generate invalid C which wouldn't > compile anyway, so lets be nice and fail earlier and point out where the > error is. > > Signed-off-by: Jonas Ådahl +1 Reviewed-By: David FORT > --- > src/scanner.c | 4

Re: [PATCH wayland] scanner: Fail on empty enumerations

2015-03-19 Thread Derek Foreman
This looks good to me. Reviewed-By: Derek Foreman On 19/03/15 03:58 AM, Jonas Ådahl wrote: > Without this patch, the scanner would generate invalid C which wouldn't > compile anyway, so lets be nice and fail earlier and point out where the > error is. > > Signed-off-by: Jonas Ådahl > --- > sr

[PATCH wayland] scanner: Fail on empty enumerations

2015-03-19 Thread Jonas Ådahl
Without this patch, the scanner would generate invalid C which wouldn't compile anyway, so lets be nice and fail earlier and point out where the error is. Signed-off-by: Jonas Ådahl --- src/scanner.c | 4 1 file changed, 4 insertions(+) diff --git a/src/scanner.c b/src/scanner.c index 1f1e