pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:149:   %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.26 1997/03/01 02:37:01 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.27 1997/03/01 17:56:04 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:1175:    my_yyerror("'%s' undefined.", $1->str);    }    }    free_string($1);    }    | F_PREDEF F_COLON_COLON F_IDENTIFIER    {    struct svalue tmp;    node *tmp2;    tmp.type=T_MAPPING; + #ifdef __CHECKER__ +  tmp.subtype=0; + #endif /* __CHECKER__ */    tmp.u.mapping=get_builtin_constants();    tmp2=mkconstantsvaluenode(&tmp);    $$=index_node(tmp2, $3);    free_node(tmp2);    free_string($3);    }    | F_IDENTIFIER F_COLON_COLON F_IDENTIFIER    {    int f;    struct reference *idp;