summaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index c8fa9ab6..6e03e5b8 100644
--- a/conf.c
+++ b/conf.c
@@ -766,6 +766,10 @@ dbgprintf("calling expression parser, pp %p ('%s')\n", *pline, *pline);
dbgprintf("end expression parser, pp %p ('%s')\n", *pline, *pline);
finalize_it:
+ if(iRet == RS_RET_SYNTAX_ERROR) {
+ logerror("syntax error in expression");
+ }
+
RETiRet;
}