Fix crash calling RINDEX with a zero needle length
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 14 Dec 2015 10:42:26 +0000 (11:42 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 15 Dec 2015 18:32:32 +0000 (19:32 +0100)
commit52c296b2b56751899e9d9fb8772135a5073d7168
tree8d296d09ad57ca2b7f87cd4e3aef4a414d2f2811
parentc98e32316e1d8c6201f6a0035a399a179ee32f0c
Fix crash calling RINDEX with a zero needle length

Also add a test and correct the documentation.
doc/expressions.texi
src/language/expressions/operations.def
tests/language/expressions/evaluate.at