[ragel] [PATCH] document fall-through cases in a generated code

Adrian Thurston thurston at colm.net
Sun Aug 27 20:39:15 UTC 2017


Thanks, applied to ragel 6 branch.

On 2017-08-21 17:24, Rinat Ibragimov wrote:
> Hi.
> 
> GCC7's Wimplicit-fallthrough diagnostics triggers a lot on generated C
> code in "-G2" mode. It was intended to catch errors, in hope that
> developer would document places where code is intended to fall through
> case statement. But currently there are no such comments in a generated
> code.
> 
> Patch is against ragel-6 branch.
> 
> ---
> Rinat
> 
> _______________________________________________
> ragel mailing list
> ragel at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/ragel




More information about the ragel-users mailing list