retro.forth: fix a bug in s:index-of-string
FossilOrigin-Name: a754653708caa46fd198e6a720749a873928cc21659a47bc939756541aa7c907
This commit is contained in:
parent
be3ae735e6
commit
141fca1dc6
3 changed files with 517 additions and 517 deletions
|
@ -888,7 +888,7 @@ a given substring is in a string.
|
|||
:s:index-of-string (ss-n)
|
||||
over [ [ setup
|
||||
[ &extract dip [ &n:inc dip ] dip here s:hash over eq? location ] times
|
||||
] buffer:preserve drop-pair drop ] dip - n:dec ;
|
||||
] buffer:preserve drop-pair drop ] dip - n:dec #-1 n:max ;
|
||||
}}
|
||||
~~~
|
||||
|
||||
|
|
BIN
ngaImage
BIN
ngaImage
Binary file not shown.
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue