Branch: Tag:

1999-01-31

1999-01-31 09:03:50 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

lexical closures implemented...

Rev: src/ChangeLog:1.160
Rev: src/alloca.c:1.3
Rev: src/block_alloc.h:1.5
Rev: src/block_alloc_h.h:1.1
Rev: src/builtin_functions.c:1.146
Rev: src/callback.c:1.16
Rev: src/dmalloc.h:1.9
Rev: src/docode.c:1.43
Rev: src/error.c:1.23
Rev: src/error.h:1.27
Rev: src/interpret.c:1.113
Rev: src/interpret.h:1.26
Rev: src/language.yacc:1.109
Rev: src/las.c:1.73
Rev: src/las.h:1.18
Rev: src/lex.c:1.61
Rev: src/main.c:1.62
Rev: src/modules/call_out/call_out.c:1.24
Rev: src/object.c:1.55
Rev: src/peep.in:1.24
Rev: src/pike_memory.c:1.29
Rev: src/pike_memory.h:1.8
Rev: src/program.c:1.107
Rev: src/program.h:1.48
Rev: src/testsuite.in:1.142
Rev: src/threads.h:1.61

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: lex.c,v 1.60 1999/01/29 12:27:45 hubbe Exp $"); + RCSID("$Id: lex.c,v 1.61 1999/01/31 09:01:53 hubbe Exp $");   #include "language.h"   #include "array.h"   #include "lex.h"
77:   { "%", F_MOD,0 },   { "%=", F_MOD_EQ,0 },   { "& global", F_GLOBAL_LVALUE, I_HASARG }, + { "& lexical local", F_LEXICAL_LOCAL_LVALUE, I_HASARG },   { "& local", F_LOCAL_LVALUE, I_HASARG },   { "&", F_AND,0 },   { "&=", F_AND_EQ,0 },
164:   { "local function call",F_CALL_LFUN, I_HASARG },   { "local function call and pop",F_CALL_LFUN_AND_POP, I_HASARG },   { "local function", F_LFUN, I_HASARG }, + { "trampoline", F_TRAMPOLINE, I_HASARG },   { "local", F_LOCAL, I_HASARG }, -  + { "lexical local", F_LEXICAL_LOCAL, I_HASARG },   { "external", F_EXTERNAL, I_HASARG },   { "& external", F_EXTERNAL_LVALUE, I_HASARG },   { "LDA", F_LDA, I_HASARG },