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

Rinat Ibragimov ibragimovrinat at mail.ru
Mon Aug 21 21:24:31 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-document-fall-through-cases-in-a-generated-code.patch
Type: application/x-patch
Size: 1194 bytes
Desc: not available
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20170822/18e2b6e7/attachment-0002.bin>


More information about the ragel-users mailing list