pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:106:   %left TOK_LSH TOK_RSH   %left '+' '-'   %left '*' '%' '/'   %right TOK_NOT '~'   %nonassoc TOK_INC TOK_DEC      %{   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.283 2002/05/11 21:07:59 mast Exp $"); + RCSID("$Id: language.yacc,v 1.284 2002/05/12 01:24:19 mast 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:1268:    b=check_call(function_type_string,a,0);    push_finished_type(b);    free_type(a);    free_type(b);    }    break;          default:    if (Pike_compiler->compiler_pass!=1) -  my_yyerror("Illegal program identifier (type:%s).", +  my_yyerror("Illegal program identifier (type: %s).",    get_name_of_type(Pike_sp[-1].type));    pop_stack();    push_int(0);    push_object_type(0, 0);    break;       case T_PROGRAM:    p = Pike_sp[-1].u.program;    push_object_type(0, p?(p->id):0);    break;