mvslovers / brexx370

MVS version of Vasilis Vlachoudis awesome rexx implementation
46 stars 11 forks source link

Infinite loop in function `countstr` #68

Closed mainframed closed 4 years ago

mainframed commented 4 years ago

Here's two examples to replicate this issue:

if countstr('','a a') \= 0 then do
  say 'failed in test 3 '
  rc = 8 
end
if countstr('','def') \== 0 then do
  say 'failed in test 9 '
  rc = 8 
end
mgrossmann commented 4 years ago

fixed