pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:103:   %left TOK_LSH TOK_RSH   %left '+' '-'   %left '*' '%' '/'   %right TOK_NOT '~'   %nonassoc TOK_INC TOK_DEC      %{   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.216 2000/10/26 01:33:25 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.217 2000/11/04 16:23:13 grubba Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif      #include "interpret.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "las.h"   #include "interpret.h"
pike.git/src/language.yacc:1731:    } else {    $$ = mkidentifiernode(f);    }    free_string(name);    free_string(type);    pop_compiler_frame();    }    | TOK_LAMBDA push_compiler_frame1 error    {    pop_compiler_frame(); +  $$ = mkintnode(0);    }    ;      local_function: TOK_IDENTIFIER push_compiler_frame1 func_args    {    char buf[40];    struct pike_string *name,*type;    int id,e;    node *n;    struct identifier *i=0;