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.400 2008/01/04 11:38:55 grubba Exp $ + || $Id: language.yacc,v 1.401 2008/01/04 11:41:27 grubba Exp $   */      %pure_parser      %token TOK_ARROW      /*    * Basic value pushing    */   %token TOK_CONSTANT TOK_FLOAT TOK_STRING
pike.git/src/language.yacc:1054:    dump_program_desc(Pike_compiler->new_program);    Pike_fatal("define_function screwed up! %d != %d\n",    f, Pike_compiler->compiler_frame->current_function_number);    }   #endif       lex.current_line = save_line;    lex.current_file = save_file;    } else {    /* Prototype; don't warn about unused arguments. */ -  for (e = Pike_compiler->compiler_frame->num_variables; e--;) { +  for (e = Pike_compiler->compiler_frame->current_number_of_locals; e--;) {    Pike_compiler->compiler_frame->variable[e].flags |= LOCAL_VAR_IS_USED;    }    }    pop_compiler_frame();    free_node($5);    free_node($10);    free_node($<n>11);    }    | modifiers type_or_error optional_constant optional_stars TOK_IDENTIFIER push_compiler_frame0    error