summaryrefslogtreecommitdiffstats
path: root/expr.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-19 16:16:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-19 16:16:09 +0000
commitb5a09481faa2eda03b568839ed724970bc8a1adc (patch)
treec0f12e58fedc0b90bfdbafd00f5c2c2cd5e6ce01 /expr.c
parent47aab374d40c05cbb7a4ceb2a4236cb65a399c3a (diff)
downloadrsyslog-b5a09481faa2eda03b568839ed724970bc8a1adc.tar.gz
rsyslog-b5a09481faa2eda03b568839ed724970bc8a1adc.tar.xz
rsyslog-b5a09481faa2eda03b568839ed724970bc8a1adc.zip
implemented initial tokenizer (stage work for expr parser)
Diffstat (limited to 'expr.c')
-rw-r--r--expr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/expr.c b/expr.c
index 88098325..114f9587 100644
--- a/expr.c
+++ b/expr.c
@@ -112,11 +112,15 @@ rsRetVal
exprParse(expr_t *pThis, ctok_t *ctok)
{
DEFiRet;
+ ctok_token_t token;
ISOBJ_TYPE_assert(pThis, expr);
ISOBJ_TYPE_assert(ctok, ctok);
+ CHKiRet(ctokGetNextToken(ctok, &token));
+
RUNLOG_STR("expr parser being called");
+finalize_it:
RETiRet;
}