diff --git a/src/opcodes.c b/src/opcodes.c index 73ac0c78d9627f4c929e48c8080eb2d632c7abc5..5a14f166529f402e658e9432099fad2404436427 100644 --- a/src/opcodes.c +++ b/src/opcodes.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: opcodes.c,v 1.168 2007/01/10 17:15:30 grubba Exp $ +|| $Id: opcodes.c,v 1.169 2008/01/28 18:06:16 grubba Exp $ */ #include "global.h" @@ -284,6 +284,9 @@ const struct keyword instr_names[]= { "align", F_ALIGN, I_HASARG NULLADDR }, { "nop", F_NOP,0 NULLADDR }, { "entry", F_ENTRY,0 NULLADDR }, +{ "filename", F_FILENAME, 0 NULLADDR }, +{ "line", F_LINE, 0 NULLADDR }, +{ "get/set", F_GET_SET, 0 NULLADDR }, { "function start", F_START_FUNCTION,0 NULLADDR }, { "notreached!", F_NOTREACHED, 0 NULLADDR }, }; @@ -299,7 +302,7 @@ const char *low_get_f_name(int n, struct program *p) if (n<F_MAX_OPCODE) { - if ((n >= 0) && instrs[n-F_OFFSET].name) + if ((n >= F_OFFSET) && instrs[n-F_OFFSET].name) return instrs[n-F_OFFSET].name; sprintf(buf, "<OTHER %d>", n); return buf;