From c94269400a620565775235136cbb045d25c54da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Mon, 28 Jan 2008 19:06:16 +0100 Subject: [PATCH] Oops, missed adding them here... Rev: src/opcodes.c:1.169 --- src/opcodes.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/opcodes.c b/src/opcodes.c index 73ac0c78d9..5a14f16652 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; -- GitLab