pike.git / src / lex.c

version» Context lines:

pike.git/src/lex.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| 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"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "constants.h"   #include "hashtable.h"   #include "stuff.h"   #include "memory.h"   #include "interpret.h"
pike.git/src/lex.c:236:   { "negative number", F_NEG_NUMBER, I_HASARG },   { "number", F_NUMBER, I_HASARG },   { "pop", F_POP_VALUE },   { "pop_n_elems", F_POP_N_ELEMS, I_HASARG },   { "push 0", F_CONST0 },   { "push 1", F_CONST1 },   { "push 0x7fffffff", F_BIGNUM },   { "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 },   { "unary minus", F_NEGATE },   { "while", F_WHILE },   { "x++ and pop", F_INC_AND_POP },   { "x++", F_POST_INC },   { "x-- and pop", F_DEC_AND_POP },   { "x--", F_POST_DEC },   { "|", F_OR },
pike.git/src/lex.c:270:   { "sizeof local", F_SIZEOF_LOCAL, I_HASARG },   { "throw(0)", F_THROW_ZERO },   { "string index", F_STRING_INDEX, I_HASARG },   { "local index", F_LOCAL_INDEX, I_HASARG },   { "int index", F_POS_INT_INDEX, I_HASARG },   { "-int index", F_NEG_INT_INDEX, I_HASARG },   { "apply and pop", F_APPLY_AND_POP, I_HASARG },   { "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];      struct reserved   {    struct hash_entry link;    int token;   };