Not sure if it's Ragel or the dev whose at fault here.
Ragel can write an FSM in C to parse a language.
But it also allows inlining of code by the dev.
It's not clear if the problem code was written by Ragel as part of the FSM or inserted by the dev.
If it's the dev then problem probably solved (although you should check the rest of the codebase to see if this idom shows up again).
If it was Ragel generated then any FSM generated by Ragel could have issues.