summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/rsconf.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c
index bd002353..cbc09c11 100644
--- a/runtime/rsconf.c
+++ b/runtime/rsconf.c
@@ -66,6 +66,7 @@
#include "parserif.h"
#include "modules.h"
#include "dirty.h"
+#include "template.h"
/* static data */
DEFobjStaticHelpers
@@ -386,6 +387,7 @@ yyerror(char *s)
}
void cnfDoObj(struct cnfobj *o)
{
+int bChkUnuse = 1; // TODO: Delete
dbgprintf("cnf:global:obj: ");
cnfobjPrint(o);
switch(o->objType) {
@@ -398,7 +400,15 @@ void cnfDoObj(struct cnfobj *o)
case CNFOBJ_ACTION:
actionProcessCnf(o);
break;
+ case CNFOBJ_TPL:
+ tplProcessCnf(o);
+ break;
+ case CNFOBJ_PROPERTY:
+ //processTemplate(o);
+bChkUnuse = 0;
+ break;
}
+if(bChkUnuse)
nvlstChkUnused(o->nvlst);
cnfobjDestruct(o);
}