gengtype: do not skip char after escape sequnce
authorMartin Liska <mliska@suse.cz>
Wed, 4 May 2022 14:21:45 +0000 (16:21 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 16 Jun 2022 06:23:46 +0000 (08:23 +0200)
commit4a0aad8f27073c1cce97fa02a315414e867afa76
treeac5537f030ea42ccc6492e70c2c846030233f229
parentab66fd016d8efa250c471692f826b07e4a55e237
gengtype: do not skip char after escape sequnce

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.

gcc/ChangeLog:

* gengtype-state.cc (read_a_state_token): Do not skip extra
character after escaped sequence.
gcc/gengtype-state.cc