pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:181:   %left F_LSH F_RSH   %left '+' '-'   %left '*' '%' '/'   %right F_NOT '~'   %nonassoc F_INC F_DEC      %{   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.167 2000/03/07 08:13:18 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.168 2000/03/07 21:22:34 hubbe 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:1621:    {    n = mktrampolinenode(id);    }else{    n = mkidentifiernode(id);    }    copy_shared_string(type,i->type);    }    else    {    id=define_function(name, -  check_node_hash($<n>0)->u.sval.u.string, +  function_type_string,    0,    IDENTIFIER_PIKE_FUNCTION,    0);    n = mktrampolinenode(id);    copy_shared_string(type, function_type_string);    }       low_add_local_name(compiler_frame->previous,    $1->u.sval.u.string, type, n);    $<number>$=id;
pike.git/src/language.yacc:1735:    {    n = mktrampolinenode(id);    }else{    n = mkidentifiernode(id);    }    copy_shared_string(type,i->type);    }    else    {    id=define_function(name, -  check_node_hash($<n>0)->u.sval.u.string, +  function_type_string,    0,    IDENTIFIER_PIKE_FUNCTION,    0);    n = mktrampolinenode(id);    copy_shared_string(type, function_type_string);    }       low_add_local_name(compiler_frame->previous,    $2->u.sval.u.string, type, n);    $<number>$=id;