On 6/1/22 17:14, Jeff Law via Gcc-patches wrote: > > > On 5/4/2022 1:14 PM, Martin Liška wrote: >> Right now, when a \$x escape sequence occures, the >> next character after $x is skipped, which is bogus. >> >> The code has very low coverage right now. >> >> Patch can bootstrap on x86_64-linux-gnu and survives regression tests. >> >> Ready to be installed? >> Thanks, >> Martin >> >> gcc/ChangeLog: >> >> * gengtype-state.cc (read_a_state_token): Do not skip extra >> character after escaped sequence. > Any way you can add a test for this?
Don't know how to construct one. Anyway, I'm going to push it :) Martin