Branch: Tag:

1996-11-17

1996-11-17 03:45:15 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix

Rev: src/language.yacc:1.8

156:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.7 1996/11/14 01:24:10 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.8 1996/11/17 03:45:15 hubbe Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
640:    | '(' program_ref ')'    {    if(sp[-1].type == T_PROGRAM) +  {    push_type_int(sp[-1].u.program->id); -  +  }else{ +  yyerror("Not a valid program specifyer"); +  push_type_int(0); +  }    pop_n_elems(2);    }    ;