]> granicus.if.org Git - re2c/commit
Fixed history comparison in case both latest subhistories are bottoms.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 16 May 2017 21:11:55 +0000 (22:11 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 16 May 2017 21:11:55 +0000 (22:11 +0100)
commite53781621b4dda5e08ced984e9059b6a073eb9d5
treec3d3b394cb1fc883494e294bdf661192672b3f6e
parent51fe1a5b457c9af40bdcb7f8b5907af4c4b40223
Fixed history comparison in case both latest subhistories are bottoms.

In this case, instead of comparing histories by the leftmost criterion
(as it should be, if only one of them is bottom), we should assume that
from standpoint of this tag histories are equal and move on to other
tags.
re2c/src/dfa/closure.cc
re2c/test/posix_captures/uncomparable_bottoms.i--posix-captures.c [new file with mode: 0644]
re2c/test/posix_captures/uncomparable_bottoms.i--posix-captures.re [new file with mode: 0644]