pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:155:   %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.62 1998/03/01 03:42:08 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.63 1998/03/04 16:38:17 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:1311:    }    pop_stack();    }else{    if(compiler_pass==2)    {    my_yyerror("'%s' undefined.", last_identifier->str);    }else{    $$=mknode(F_UNDEFINED,0,0);    }    } +  } else { +  push_int(0); +  $$=mkconstantsvaluenode(sp-1); +  pop_stack();    }    }    free_node($1);    }    | F_PREDEF F_COLON_COLON F_IDENTIFIER    {    struct svalue tmp;    node *tmp2;    tmp.type=T_MAPPING;   #ifdef __CHECKER__