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.221 2001/01/10 20:00:23 mast Exp $"); + RCSID("$Id: language.yacc,v 1.222 2001/01/16 09:36:30 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:1582:    }else{    pop_n_elems(DO_NOT_WARN((INT32)(tmp - 1)));    if($3) free_node($3);    $3=mksvaluenode(Pike_sp-1);    type=$3->type;    pop_stack();    }    }    if(!type) type=mixed_type_string;    add_ref(type); -  low_add_local_name(Pike_compiler->compiler_frame->previous, +  low_add_local_name(Pike_compiler->compiler_frame, /*->previous,*/    $1->u.sval.u.string,    type, $3);    free_node($1);    }    | bad_identifier '=' safe_expr0 { if ($3) free_node($3); }    | error '=' safe_expr0 { if ($3) free_node($3); }    ;      local_constant_list: local_constant_name    | local_constant_list ',' local_constant_name