Branch: Tag:

1999-12-14

1999-12-14 14:56:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix (lambda functions are now static)

Rev: src/language.yacc:1.146

184:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.145 1999/12/14 08:38:47 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.146 1999/12/14 14:56:13 hubbe Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
1343:    f=dooptcode(name,    $4,    type, -  ID_PRIVATE | ID_INLINE); +  ID_STATIC | ID_PRIVATE | ID_INLINE);       if(compiler_frame->lexical_scope == 2) {    $$ = mktrampolinenode(f);
1407:    f=dooptcode(name,    $4,    type, -  ID_PRIVATE | ID_INLINE); +  ID_STATIC | ID_PRIVATE | ID_INLINE);       if(compiler_frame->lexical_scope == 2) {    $$ = mktrampolinenode(f);
1478:    f=dooptcode(name,    $5,    type, -  ID_PRIVATE | ID_INLINE); +  ID_STATIC | ID_PRIVATE | ID_INLINE);       if(compiler_frame->lexical_scope == 2) {    $$ = mktrampolinenode(f);
1515:    s=make_shared_string(buffer);    $3=mkstrnode(s);    free_string(s); -  $1|=ID_PRIVATE | ID_INLINE; +  $1|=ID_STATIC | ID_PRIVATE | ID_INLINE;    }    /* fprintf(stderr, "LANGUAGE.YACC: CLASS start\n"); */    if(compiler_pass==1)