pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_types.c,v 1.315 2007/11/15 16:42:42 grubba Exp $ + || $Id: pike_types.c,v 1.316 2008/01/13 18:30:57 grubba Exp $   */      #include "global.h"   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"
pike.git/src/pike_types.c:1405:    nargs++;    ++*s;    while(ISSPACE(**s)) ++*s;    }    else if(s[0][0]=='.' && s[0][1]=='.' && s[0][2]=='.')    {    *s+=3;    while(ISSPACE(**s)) ++*s;    if(**s != ':') {    yyerror("Missing ':' after ... in function type."); -  *s--; +  --*s;    }    break;    } else {    nargs++;    }    }    /* Skip the colon. */    ++*s;    internal_parse_type(_s); /* return type */    push_reverse_type(T_MANY);