On Sat, Jul 19, 2008 at 11:31:45AM +0200, Denys Vlasenko wrote:
>On Saturday 19 July 2008 08:58, [EMAIL PROTECTED] wrote:
>> Added verbose comments on config_read().
>> Added testsuite (runtest parse).
>> Let us collect interesting cases and thoroughly test them.
>> Fixed inittab parsing. Bernhard, please test.
>
>-      while (config_read(parser, token, -4, 0, ":", '#') >= 0) {
>+      while (config_read(parser, token, 4, 4, "#:", 
>PARSE_DONT_TRIM|PARSE_DONT_REDUCE|PARSE_LAST_IS_GREEDY) > 0) {

I'm sceptical about this new interface. How can i state that i
-) accept _no_ comment chars but e.g. ";," as delimiter?
-) accept "^[[:space:]]*[#;]" comments and ";[[:space:]]" as delim?

The latter is probably not used -- or at least not widely used -- in bb.
Thanks,
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to