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

Adrian Thurston thurston at colm.net
Wed Aug 23 18:38:51 UTC 2017

Hi Rinat, does gcc suppress the error if a comment is seen, or is this 
only for a developer who looks at the warning and then code?

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