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.100 2001/07/27 15:02:05 grubba Exp $"); + RCSID("$Id: lex.c,v 1.101 2001/07/27 21:12:28 grubba 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 "pike_memory.h"   #include "interpret.h"
pike.git/src/lex.c:183:   #undef OPCODE2_TAIL      #undef OPCODE0_JUMP   #undef OPCODE1_JUMP   #undef OPCODE2_JUMP      #undef OPCODE0_TAILJUMP   #undef OPCODE1_TAILJUMP   #undef OPCODE2_TAILJUMP    + #undef OPCODE0_RETURN + #undef OPCODE1_RETURN + #undef OPCODE2_RETURN + #undef OPCODE0_TAILRETURN + #undef OPCODE1_TAILRETURN + #undef OPCODE2_TAILRETURN +    #else   #define ADDR(X)   #define NULLADDR   #endif      #define OPCODE0(OP,DESC) { DESC, OP, 0 ADDR(OP) },   #define OPCODE1(OP,DESC) { DESC, OP, I_HASARG ADDR(OP) },   #define OPCODE2(OP,DESC) { DESC, OP, I_TWO_ARGS ADDR(OP) },      #define OPCODE0_TAIL(OP,DESC) { DESC, OP, 0 ADDR(OP) },
pike.git/src/lex.c:204:   #define OPCODE2_TAIL(OP,DESC) { DESC, OP, I_TWO_ARGS ADDR(OP) },      #define OPCODE0_JUMP(OP,DESC) { DESC, OP, I_ISJUMP ADDR(OP) },   #define OPCODE1_JUMP(OP,DESC) { DESC, OP, I_HASARG ADDR(OP) },   #define OPCODE2_JUMP(OP,DESC) { DESC, OP, I_TWO_ARGS ADDR(OP) },      #define OPCODE0_TAILJUMP(OP,DESC) { DESC, OP, I_ISJUMP ADDR(OP) },   #define OPCODE1_TAILJUMP(OP,DESC) { DESC, OP, I_HASARG ADDR(OP) },   #define OPCODE2_TAILJUMP(OP,DESC) { DESC, OP, I_TWO_ARGS ADDR(OP) },    + #define OPCODE0_RETURN(OP, DESC) OPCODE0(OP, DESC) + #define OPCODE1_RETURN(OP, DESC) OPCODE1(OP, DESC) + #define OPCODE2_RETURN(OP, DESC) OPCODE2(OP, DESC) + #define OPCODE0_TAILRETURN(OP, DESC) OPCODE0_TAIL(OP, DESC) + #define OPCODE1_TAILRETURN(OP, DESC) OPCODE1_TAIL(OP, DESC) + #define OPCODE2_TAILRETURN(OP, DESC) OPCODE2_TAIL(OP, DESC) +    #define LEXER      struct keyword instr_names[]=   {   #ifndef PIKE_PRECOMPILER   #include "interpret_protos.h"   #endif /* !PIKE_PRECOMPILER */   { "%=", F_MOD_EQ,0 NULLADDR },   { "&=", F_AND_EQ,0 NULLADDR },   { "|=", F_OR_EQ,0 NULLADDR },