pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:1:   /* -*- c -*-   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: language.yacc,v 1.347 2004/10/30 11:38:26 mast Exp $ + || $Id: language.yacc,v 1.348 2004/10/30 15:30:02 nilsson Exp $   */      %pure_parser      %token TOK_ARROW      /*    * Basic value pushing    */   %token TOK_CONSTANT TOK_FLOAT TOK_STRING
pike.git/src/language.yacc:448:    safe_apply_low3(o, find_identifier("add_facet_class",o->prog), 3,    "Failed to add facet class to system.");    if (Pike_sp[-1].type == T_INT &&    Pike_sp[-1].u.integer >= 0) {    Pike_compiler->new_program->facet_class = PROGRAM_IS_FACET_CLASS;    Pike_compiler->new_program->facet_index = Pike_sp[-1].u.integer;    add_ref(Pike_compiler->new_program->facet_group = o);    }    else    yyerror("Could not add facet class to system."); -  pop_n_elems(2); +  pop_stack();    }    else    yyerror("Illegal facet group specifier."); -  free_node($4); +  pop_stack();    }    } -  +  free_node($2); +  free_node($4);    }    ;         inherit_ref:    {    SET_FORCE_RESOLVE($<number>$);    }    low_program_ref    {