Branch: Tag:

2016-05-17

2016-05-17 14:12:25 by Per Hedbor <ph@opera.com>

Added ** as the exponentiation operator.

219:    "_deserialize",    "_size_object",    "_random", +  "pow",   };      struct pike_string *lfun_strings[NELEM(lfun_names)];
281:    tFuncV(tObj tZero, tVoid, tVoid), /* "_deserialize", */    tFuncV(tZero, tVoid, tInt), /* "_size_object", */    tFuncV(tFunction tFunction, tVoid, tMix), /* "_random", */ +  tFuncV(tOr3(tInt,tFloat,tObj),tVoid,tOr3(tObj,tInt,tFloat)), /* "pow", */   };      /* These two are not true LFUNs! */
7046:    unsigned int flags = 0;    int i;    struct identifier *id; + #ifdef PIKE_DEBUG    if ((size_t)lfun >= NELEM(lfun_strings)) {    return find_lfun_fatal(p, lfun);    } -  + #endif    lfun_name = lfun_strings[lfun];       i = really_low_find_shared_string_identifier(lfun_name,