plan9fox/sys/src/libregexp
cinap_lenrek 59ba35a327 libregexp: fix assert check for compile1 instruction count
the assert fails for regcompnl(".") as TANY is compiled to
one instruction instead of two when nl == 0.

its not a problem when we end up with less instructions, so
changing the assert condition from == to <= to make sure we
didnt overrun the buffer.

--
cinap
2017-02-19 00:32:47 +01:00
..
mkfile better memory management of threads (thanks knuth) 2016-04-27 17:36:43 -05:00
regcomp.c libregexp: fix assert check for compile1 instruction count 2017-02-19 00:32:47 +01:00
regerror.c New libregexp and APE ported to native 2016-04-26 22:23:44 -05:00
regexec.c libregexp: improve the transition to next available thread, instruction, and generation 2017-02-03 15:33:15 -06:00
regimpl.h libregexp: simplify regular expression vm implementation 2017-02-02 21:21:34 -06:00
regprint.c New libregexp and APE ported to native 2016-04-26 22:23:44 -05:00
regsub.c New libregexp and APE ported to native 2016-04-26 22:23:44 -05:00
rregexec.c libregexp: improve the transition to next available thread, instruction, and generation 2017-02-03 15:33:15 -06:00
rregsub.c New libregexp and APE ported to native 2016-04-26 22:23:44 -05:00