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.12 1996/11/28 03:05:52 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.13 1996/11/28 03:42:13 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:549:    free_string(local_variables->current_return_type);    local_variables->current_return_type=0;    }    free_all_local_names();    free_string($4);    free_string($<string>8);    }    | modifiers type_or_error name_list ';' {}    | inheritance {}    | constant {} -  | class {} +  | class { free_node($1); }    | error    {    reset_type_stack();    if(num_parse_error>5) YYACCEPT;    }    ;         optional_dot_dot_dot: F_DOT_DOT_DOT { $$=1; }    | /* empty */ { $$=0; }