projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fae1a3
)
SUBST: complain about unknown tokens while parsing
author
Wilfried Goesgens
<dothebart@citadel.org>
Wed, 18 Jul 2012 15:19:48 +0000
(17:19 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Wed, 18 Jul 2012 15:19:48 +0000
(17:19 +0200)
webcit/subst.c
patch
|
blob
|
history
diff --git
a/webcit/subst.c
b/webcit/subst.c
index aa8d6665a863a9ef6417f71297cd8a81af9d86cd..83f780875a068ba6024a2c5fda088f42033aea41 100644
(file)
--- a/
webcit/subst.c
+++ b/
webcit/subst.c
@@
-1074,6
+1074,11
@@
WCTemplateToken *NewTemplateSubstitute(StrBuf *Buf,
if (Handler->PreEvalFunc != NULL)
Handler->PreEvalFunc(NewToken);
}
+ } else {
+ LogTemplateError(
+ NULL, "Token ", ERR_NAME, &TP,
+ " isn't known to us.",
+ NULL);
}
break;
case SV_GETTEXT: