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.9 1996/11/25 21:34:23 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.10 1996/11/26 20:32:19 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:641:    | F_FUNCTION_ID opt_function_type { push_type(T_FUNCTION); }    ;      opt_object_type: /* Empty */ { push_type_int(0); }    | '(' program_ref ')'    {    if(sp[-1].type == T_PROGRAM)    {    push_type_int(sp[-1].u.program->id);    }else{ -  yyerror("Not a valid program specifyer"); +  yyerror("Not a valid program specifier");    push_type_int(0);    }    pop_n_elems(2);    }    ;      opt_function_type: '('    {    type_stack_mark();    type_stack_mark();