Branch: Tag:

2008-05-17

2008-05-17 14:10:02 by Marcus Comstedt <marcus@mc.pp.se>

Added backwards compatibility for sscanf and array_sscanf.

Rev: lib/7.6/modules/__default.pmod:1.4
Rev: lib/7.6/modules/testsuite.in:1.6
Rev: src/builtin_functions.c:1.663
Rev: src/language.yacc:1.423
Rev: src/sscanf.c:1.178
Rev: src/sscanf.h:1.4
Rev: src/testsuite.in:1.814

1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.813 2008/05/12 13:32:14 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.814 2008/05/17 14:10:01 marcus Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])
6943:    return Bar()->foo()   ]], "foobarbaz")    + test_equal( array_sscanf("^^;|", "%[^-|]%s"), ({ "^^", ";|" }) ) + test_any([[mixed a; sscanf("^^;|","%[^-|]",a); return a]],"^^") +    // sscanf %O -------------------------------------------------------------      define(test_percent_o_raw, [[