it seems that the parser will drop the last section if the to-be-parsed string is ended with a `['
e.g.: hello world\[
The parse() function will detect the last `[', but do nothing and try to continue to find more content with advancing curr_pos by 1.
As this `[' is the last character in string, the loop in parse() will terminate and the content will be lost;
bug on RenderedStringParser processing `[' at the end of str
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: bug on RenderedStringParser processing `[' at the end of
Thanks for this, looks like a good one! I will look into it.
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 11 guests