pike.git / src / lex.c

version» Context lines:

pike.git/src/lex.c:75:    if(current_file) free_string(current_file);    free_reswords();   }      struct keyword reserved_words[] =   {   { "array", F_ARRAY_ID, },   { "break", F_BREAK, },   { "case", F_CASE, },   { "catch", F_CATCH, }, + { "class", F_CLASS, },   { "continue", F_CONTINUE, },   { "default", F_DEFAULT, },   { "do", F_DO, },   { "efun", F_EFUN, },   { "else", F_ELSE, },   { "float", F_FLOAT_ID, },   { "for", F_FOR, },   { "foreach", F_FOREACH, },   { "function", F_FUNCTION_ID, },   { "gauge", F_GAUGE, },
pike.git/src/lex.c:264:      char *low_get_f_name(int n,struct program *p)   {    static char buf[30];       if (n<F_MAX_OPCODE && instrs[n-F_OFFSET].name)    {    return instrs[n-F_OFFSET].name;    }else if(n >= F_MAX_OPCODE) {    if(p && -  p->num_constants > n-F_MAX_OPCODE && +  (int)p->num_constants > (int)(n-F_MAX_OPCODE) &&    p->constants[n-F_MAX_OPCODE].type==T_FUNCTION &&    p->constants[n-F_MAX_OPCODE].subtype == -1 &&    p->constants[n-F_MAX_OPCODE].u.efun)    {    return p->constants[n-F_MAX_OPCODE].u.efun->name->str;    }else{    sprintf(buf, "Call efun %d", n - F_MAX_OPCODE);    return buf;    }    }else{
pike.git/src/lex.c:288:   }      char *get_f_name(int n)   {    static char buf[30];    if (n<F_MAX_OPCODE && instrs[n-F_OFFSET].name)    {    return instrs[n-F_OFFSET].name;    }else if(n >= F_MAX_OPCODE) {    if(fp && fp->context.prog && -  fp->context.prog->num_constants > n-F_MAX_OPCODE && +  (int)fp->context.prog->num_constants > (int)(n-F_MAX_OPCODE) &&    fp->context.prog->constants[n-F_MAX_OPCODE].type==T_FUNCTION &&    fp->context.prog->constants[n-F_MAX_OPCODE].subtype == -1 &&    fp->context.prog->constants[n-F_MAX_OPCODE].u.efun)    {    return fp->context.prog->constants[n-F_MAX_OPCODE].u.efun->name->str;    }else{    sprintf(buf, "Call efun %d", n - F_MAX_OPCODE);    return buf;    }    }else{