Open jD91mZM2 opened 7 years ago
Hi could you provide an example code (and perhaps environment)?
To me it worked every time I had an unclosed statement, although I no longer have lolcode installed
@jD91mZM2 sorry for the late reply.
Nice catch ! I was also able to verify this bug and it's likely that the issue is from tokenization process of incrementing start
index until TLDR
token is found:
Since TLDR
is not in the string, it's just going to increment the index until it's greater than the total string length:
I'll create a PR but I think adding a constraint to the while
statement would fix this issue.
An unclosed OBTW result in a segmation fault.