Branch: Tag:

1997-03-14

1997-03-14 04:39:20 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

modified check_all_args(), should be much more flexible now

Rev: src/ChangeLog:1.88
Rev: src/interpret.c:1.36
Rev: src/language.yacc:1.32
Rev: src/lex.c:1.19
Rev: src/mapping.c:1.15
Rev: src/module_support.c:1.4
Rev: src/module_support.h:1.4
Rev: src/modules/Yp/yp.c:1.4
Rev: src/modules/files/file.c:1.30
Rev: src/modules/system/system.c:1.14
Rev: src/operators.c:1.12
Rev: src/peep.in:1.7
Rev: src/pike_types.c:1.19
Rev: src/svalue.h:1.7

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: lex.c,v 1.18 1997/03/11 03:36:41 hubbe Exp $"); + RCSID("$Id: lex.c,v 1.19 1997/03/14 04:37:16 hubbe Exp $");   #include "language.h"   #include "array.h"   #include "lex.h"
243:   { "range", F_RANGE },   { "return", F_RETURN },   { "return 0", F_RETURN_0 }, + { "return 1", F_RETURN_1 },   { "sscanf", F_SSCANF, I_HASARG },   { "string", F_STRING, I_HASARG },   { "switch", F_SWITCH, I_HASARG },
277:   { "2 locals", F_2_LOCALS, I_HASARG },   { "byte", F_BYTE, I_HASARG },   { "nop", F_NOP }, + { "add integer", F_ADD_INT, I_HASARG }, + { "add -integer", F_ADD_NEG_INT, I_HASARG }, + { "mark & call", F_MARK_APPLY, I_HASARG }, + { "mark, call & pop", F_MARK_APPLY_POP, I_HASARG },   };      struct instr instrs[F_MAX_INSTR - F_OFFSET];