pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.150 1999/12/23 15:42:33 grubba Exp $"); + RCSID("$Id: las.c,v 1.151 1999/12/26 18:54:57 grubba Exp $");      #include "language.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"   #include "pike_types.h"
pike.git/src/las.c:2128:    if(n->type)    {    if(n->type == void_type_string) return;    push_finished_type(n->type);    }else{    push_type(T_MIXED);    }    }   }    - #define YYTE_IS_WARNING 1 -  - static void yytype_error(char *msg, struct pike_string *expected_t, + void yytype_error(char *msg, struct pike_string *expected_t,    struct pike_string *got_t, unsigned int flags)   {    struct pike_string *expected = describe_type(expected_t);    struct pike_string *got = describe_type(got_t);       if (flags & YYTE_IS_WARNING) {    if (msg) {    yywarning("%s", msg);    }    yywarning("Expected: %s", expected->str);