There was a bug in the removeWhitespace() function that would only look at every other token. However, if the input was
identifier,whitespace,identifier,whitespace, etc. it would only be looking at the whitespace tokens, and get rid of all of them. 😮
This fixes that issue so that the index of what token we're looking at does not increment when we remove a whitespace.
Quick fix to issue #48
There was a bug in the
removeWhitespace()
function that would only look at every other token. However, if the input wasidentifier,whitespace,identifier,whitespace
, etc. it would only be looking at thewhitespace
tokens, and get rid of all of them. 😮This fixes that issue so that the index of what token we're looking at does not increment when we remove a whitespace.