Fixes #1624. We just replace 0xFF by 0x00 when reading a new input byte. This shows up as an unexpected token error.