summaryrefslogtreecommitdiffstats
path: root/ctok.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-25 15:23:57 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-25 15:23:57 +0000
commit50ddd3fd7de672a2fa2df67adb27401cc38ce38c (patch)
treee509dc31fce2c6edb230147ee547b3967bc636c2 /ctok.c
parentc9fc3fc06d2566aa6aed977af66392dce97d1264 (diff)
downloadrsyslog-50ddd3fd7de672a2fa2df67adb27401cc38ce38c.tar.gz
rsyslog-50ddd3fd7de672a2fa2df67adb27401cc38ce38c.tar.xz
rsyslog-50ddd3fd7de672a2fa2df67adb27401cc38ce38c.zip
added string concatenation operator & to RainerScript
Diffstat (limited to 'ctok.c')
-rw-r--r--ctok.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctok.c b/ctok.c
index 66305171..a8057a99 100644
--- a/ctok.c
+++ b/ctok.c
@@ -476,6 +476,9 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken)
case ',':
pToken->tok = ctok_COMMA;
break;
+ case '&':
+ pToken->tok = ctok_STRADD;
+ break;
case '$':
CHKiRet(ctokGetVar(pThis, pToken));
break;