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.387 2007/10/11 15:45:53 grubba Exp $ + || $Id: language.yacc,v 1.388 2007/10/11 16:52:20 grubba Exp $   */      %pure_parser      %token TOK_ARROW      /*    * Basic value pushing    */   %token TOK_CONSTANT TOK_FLOAT TOK_STRING
pike.git/src/language.yacc:2082:    Pike_compiler->compiler_pass);    simple_describe_type(type);    fprintf(stderr, "\n");   #endif /* LAMBDA_DEBUG */    if(Pike_compiler->compiler_pass == 2)    Pike_compiler->compiler_frame->current_function_number=isidentifier(name);       f=dooptcode(name,    $7,    type, -  ID_STATIC | ID_PRIVATE | ID_INLINE); +  ID_STATIC | ID_PRIVATE | ID_INLINE | ID_USED);      #ifdef LAMBDA_DEBUG    fprintf(stderr, "%d: lexical_scope: 0x%08x\n",    Pike_compiler->compiler_pass,    Pike_compiler->compiler_frame->lexical_scope);   #endif /* LAMBDA_DEBUG */       if(Pike_compiler->compiler_frame->lexical_scope & SCOPE_SCOPED) {    $$ = mktrampolinenode(f, Pike_compiler->compiler_frame->previous);    } else {
pike.git/src/language.yacc:3297:   #ifdef LAMBDA_DEBUG    fprintf(stderr, "%d: IMPLICIT LAMBDA: %s 0x%08lx 0x%08lx\n",    Pike_compiler->compiler_pass, name->str,    (long)Pike_compiler->new_program->id,    Pike_compiler->local_class_counter-1);   #endif /* LAMBDA_DEBUG */       f=dooptcode(name,    $5,    type, -  ID_STATIC | ID_PRIVATE | ID_INLINE); +  ID_STATIC | ID_PRIVATE | ID_INLINE | ID_USED);       if(Pike_compiler->compiler_frame->lexical_scope & SCOPE_SCOPED) {    $$ = mktrampolinenode(f,Pike_compiler->compiler_frame->previous);    } else {    $$ = mkidentifiernode(f);    }       lex.current_line = save_line;    lex.current_file = save_file;    free_node ($2);