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.14 1996/12/04 00:27:10 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.15 1996/12/05 00:47:14 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:1288:         %%      void yyerror(char *str)   {    extern int num_parse_error;       if (num_parse_error > 5) return;    num_parse_error++; +  cumulative_parse_error++;       if ( get_master() )    {    sp->type = T_STRING;    copy_shared_string(sp->u.string, current_file);    sp++;    sp->type = T_INT;    sp->u.integer = current_line;    sp++;    sp->type = T_STRING;