Branch: Tag:

2014-12-04

2014-12-04 19:25:19 by Martin Nilsson <nilsson@opera.com>

#if efun is documented as deprecated. Don't use it.

5:   test_compile_any([[#pike 7.4]])   test_compile_any([[#pike 7.0]])   test_compile_any([[#pike 0.6]]) + test_compile_any([[#pike 7.6]]) + test_compile_any([[#pike 7.8]])      cond([[all_constants()->_verify_internals]],   [[
10271:   // add_constant   test_do(add_constant("foobar",lambda() { return 1; }))   test_any([[ + #if constant(foobar) + return 1; + #else + return 0; + #endif + ]],1) + test_any([[ + #pike 7.8   #if efun(foobar)   return 1;   #else
10280:   test_eq(foobar(),1)   test_do(add_constant("foobar"))   test_any([[ - #if efun(foobar) + #if constant(foobar)   return 1;   #else   return 0;