]> granicus.if.org Git - re2c/commit
Crash on attempt to create range with lower bound greater or equal to lower bound.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 15 Jun 2015 14:09:02 +0000 (15:09 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 15 Jun 2015 14:09:02 +0000 (15:09 +0100)
commit1ecdfb66f47c0d0ecf22c587378ac266a2d9bbf4
tree1302fdc69d2f239e44a6e4c8943099313d76de92
parenta4c87b8fc640a61d2e9802cbe203dc15cf2ecb47
Crash on attempt to create range with lower bound greater or equal to lower bound.

Better have an assert than nothing until we handle such cases properly.
As for now, if the user inputs range like [9-0], it will be tranformed
to [0-9]. Later re2c should at least warn about such cases.
re2c/src/util/range.h