[Patch] Don't accept an incomplete symbol

Paolo Carlini pcarlini@suse.de
Sun Mar 14 16:02:00 GMT 2004


Hi,

another fix to the money_get parsing code: when we consume the (optional)
symbol, obviously it must be complete.

Tested x86-linux. Will commit tomorrow morning.

Note that the parsing of symbol is still buggy, since, if either the
positive or negative sign is empty, sign is not required and therefore
in those cases symbol must not be consumed. I'm working on that, last
hopefully, problem.

Paolo.

//////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_money_symbol
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040314/f652c018/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_money_symbol
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040314/f652c018/attachment-0001.ksh>


More information about the Libstdc++ mailing list