Could address the above issue by changing this line to
```
if (charsLeft() && isQuote(currentChar()))) 
```