pike.git / src / lpc_types.c

version» Context lines:

pike.git/src/lpc_types.c:107:    while(isspace(**s)) ++*s;       len=0;    for(len=0;isidchar(s[0][len]);len++)    {    if(len>=sizeof(buf)) error("Buffer overflow in parse_type\n");    buf[len] = s[0][len];    }    buf[len]=0;    *s += len; -  +     if(!strcmp(buf,"int")) push_type(T_INT);    else if(!strcmp(buf,"float")) push_type(T_FLOAT);    else if(!strcmp(buf,"object")) push_type(T_OBJECT);    else if(!strcmp(buf,"program")) push_type(T_PROGRAM);    else if(!strcmp(buf,"string")) push_type(T_STRING);    else if(!strcmp(buf,"void")) push_type(T_VOID);    else if(!strcmp(buf,"mixed")) push_type(T_MIXED);    else if(!strcmp(buf,"unknown")) push_type(T_UNKNOWN);    else if(!strcmp(buf,"function"))    {