summaryrefslogtreecommitdiffstats
path: root/vmop.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-21 17:39:36 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-21 17:39:36 +0000
commitd74898029f38c59a316716e734eb5115c5a4614c (patch)
treedeeecc3b3781f3ea7455f57ed16b823a859cfd83 /vmop.c
parentabd0b45c447caa628bde2ceb6406c56bd7b56003 (diff)
downloadrsyslog-d74898029f38c59a316716e734eb5115c5a4614c.tar.gz
rsyslog-d74898029f38c59a316716e734eb5115c5a4614c.tar.xz
rsyslog-d74898029f38c59a316716e734eb5115c5a4614c.zip
- modified parser and tokenizer to support slight ABNF modifications from
yesterday - change in ABNF was wrong - made a slightly different change - fixed bugs in tokenizer - expression compiler finished (except bugs, of course ;))
Diffstat (limited to 'vmop.c')
-rw-r--r--vmop.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/vmop.c b/vmop.c
index 34d70fba..56112be5 100644
--- a/vmop.c
+++ b/vmop.c
@@ -168,7 +168,10 @@ vmopOpcode2Str(vmop_t *pThis, uchar **ppName)
*ppName = (uchar*) "PUSHCONSTANT";
break;
case opcode_POP:
- *ppName = (uchar*) "";
+ *ppName = (uchar*) "POP";
+ break;
+ case opcode_UNARY_MINUS:
+ *ppName = (uchar*) "UNARY_MINUS";
break;
default:
*ppName = (uchar*) "INVALID opcode";