pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:3550:    if( $1 && $1->type )    {    int temporary;    $1->type->refs++;       temporary = add_local_name(empty_pike_string, $1->type, 0);    Pike_compiler->compiler_frame->variable[temporary].flags |= LOCAL_VAR_IS_USED;    $$=mknode(F_LAND,    mknode(F_ASSIGN, $1, mklocalnode(temporary,0)),    mknode(F_INDEX, mklocalnode(temporary,0), $4)); +  $$ = pop_local_variables(temporary, $$);    }    else    {    $$=mknode(F_INDEX, $1,$4);    yyerror("Indexing unexpected value.");    }    }    COPY_LINE_NUMBER_INFO($$, $3);    free_node ($3);    }
pike.git/src/language.yacc:3582:    if( $1 && $1->type )    {    int temporary;    $1->type->refs++;       temporary = add_local_name(empty_pike_string, $1->type, 0);    Pike_compiler->compiler_frame->variable[temporary].flags |= LOCAL_VAR_IS_USED;    $$=mknode(F_LAND,    mknode(F_ASSIGN, $1, mklocalnode(temporary,0) ),    mknode(F_RANGE, mklocalnode(temporary,0), range) ); +  $$ = pop_local_variables(temporary, $$);    }    else    {    $$ = mknode( F_LAND, $1, mknode(F_RANGE,$1,range) );    yyerror("Indexing unexpected value.");    }    }    COPY_LINE_NUMBER_INFO($$, $3);    free_node ($3);    }
pike.git/src/language.yacc:3645:    int temporary;    if( $1 && ($1->token == F_LOCAL) )    {    $$=mknode(F_LAND, copy_node($1), mknode(F_ARROW, $1, $4));    }    else    {    fix_type_field( $1 );    if( $1 && $1->type )    { -  $1->type->refs++; -  +  add_ref($1->type);    temporary = add_local_name(empty_pike_string, $1->type, 0); -  Pike_compiler->compiler_frame->variable[temporary].flags |= LOCAL_VAR_IS_USED; +  Pike_compiler->compiler_frame->variable[temporary].flags |= +  LOCAL_VAR_IS_USED;    $$=mknode(F_LAND,    mknode(F_ASSIGN, $1, mklocalnode(temporary,0)),    mknode(F_ARROW, mklocalnode(temporary,0), $4)); -  +  $$ = pop_local_variables(temporary, $$);    }    else    {    $$=mknode(F_ARROW, $1,$4);    yyerror("Indexing unexpected value.");    }    }    COPY_LINE_NUMBER_INFO($$, $3);    free_node ($3);    }