]> granicus.if.org Git - re2c/commit
Fixed the case of missing default label which is used only by EOF checks.
authorUlya Trofimovich <skvadrik@gmail.com>
Thu, 18 Jul 2019 16:16:04 +0000 (17:16 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Thu, 18 Jul 2019 16:16:04 +0000 (17:16 +0100)
commit7ecd5e8e1a12754bc0dae720c0055467fc56e7c7
tree2c9d297813cf6a9771cd70ffd8d0f798d3da3b52
parent8090e4349e4bf2ca34efbc5157092fc2e961e08b
Fixed the case of missing default label which is used only by EOF checks.

The current fix may sometimes cause generation of unused default label, because
at the time when it's generated we haven't geerated the code for EOF checks yet
and do nt know if default label is really needed. This is what happens in the
updated test cases.
src/adfa/adfa.h
src/codegen/emit_dfa.cc
test/eof/eof_02.i.c
test/eof/eof_03.i.c