Loading resource problems
Original Reporter info from Mantis: henrique @henriquewerlang
-
Reporter name: henrique
Original Reporter info from Mantis: henrique @henriquewerlang
- Reporter name: henrique
Description:
In an extremely specific case, a buffer loading problem occurred that generated an invalid character error. This is because in the NextToken function, in the internal SetToken function, the buffer position was only incremented and did not reload it, leaving it in an invalid position generating errors.
Another problem encountered was that the functions of eliminating blanks did not check whether the buffer had finished, staying in an infinite loop.
I'm sending the fix I did to solve the two reported issues.
Mantis conversion info:
- Mantis ID: 38220
- OS: Windows
- OS Build: 10
- Build: trunk
- Platform: Pas2Js
- Fixed in version: trunk
- Fixed in revision: 1014