pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:4847:    return ret;   }      static node *find_versioned_identifier(struct pike_string *identifier,    int major, int minor)   {    struct compilation *c = THIS_COMPILATION;    int old_major = Pike_compiler->compat_major;    int old_minor = Pike_compiler->compat_minor;    struct svalue *efun = NULL; -  /* NOTE: Compilers warn about res being globbered by the setjmp,longjmp -  * below. This warning is spurious because pop_stack() does not actually -  * do the longjmp, instead f_index() does. */ -  node *res = NULL; +  node *res;       change_compiler_compatibility(major, minor);       if(Pike_compiler->last_identifier)    free_string(Pike_compiler->last_identifier);    copy_shared_string(Pike_compiler->last_identifier, identifier);       /* Check predef:: first, and then the modules. */    -  +  res = NULL;    if (TYPEOF(c->default_module) == T_MAPPING) {    if ((efun = low_mapping_string_lookup(c->default_module.u.mapping,    identifier)))    res = mkconstantsvaluenode(efun);    }    else if (TYPEOF(c->default_module) != T_INT) {    JMP_BUF tmp;    if (SETJMP (tmp)) {    handle_compile_exception ("Couldn't index %d.%d "    "default module with \"%S\".",