Seperator obeysquotes member
I would like to suggest that the Seperator object have a boolean flag member added to indicate whether or not the object was created with the obeysquotes member (simply set the flag with the constructor parameter).
As it is, from the client perspective, if you are given a seperator, you have no way of determining if it respected quoting when it parsed its arguments. |
It might be cool to also store a copy of the original string in complete form with each object. I have found that there are cases where I'd like to be able to recall the entire text, and having to reassemble it seems ineffecient.
|
seperator->argplus[0] should be what you're looking for. It stores a pointer to the original string (so be careful to check if that's been de-allocated).
|
Quote:
|
All times are GMT -4. The time now is 01:34 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.