aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 34ba174c..1dd0de4e 100644
--- a/eval.c
+++ b/eval.c
@@ -330,6 +330,7 @@ static struct optypetab {
{ "Op_K_getline_redir", "getline" },
{ "Op_K_getline", "getline" },
{ "Op_K_nextfile", "nextfile" },
+ { "Op_K_namespace", "@namespace" },
{ "Op_builtin", NULL },
{ "Op_sub_builtin", NULL },
{ "Op_ext_builtin", NULL },
@@ -400,7 +401,7 @@ nodetype2str(NODETYPE type)
return buf;
}
-/* opcode2str --- convert a opcode type into a printable value */
+/* opcode2str --- convert an opcode type into a printable value */
const char *
opcode2str(OPCODE op)
@@ -411,6 +412,8 @@ opcode2str(OPCODE op)
return NULL;
}
+/* op2str --- convert an opcode type to corresponding operator or keyword */
+
const char *
op2str(OPCODE op)
{