Commit f28472fd authored by Patrick Lam's avatar Patrick Lam

Complain about invalid constants in config files.

reviewed by: plam
parent 1c5b6345
2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
reviewed by: plam
* src/fcxml.c (FcTypecheckExpr):
Complain about invalid constants in config files.
2005-11-17 Andreas Schwab <schwab@suse.de>
reviewed by: plam
......
......@@ -588,6 +588,10 @@ FcTypecheckExpr (FcConfigParse *parse, FcExpr *expr, FcType type)
if (o)
FcTypecheckValue (parse, o->type, type);
}
else
FcConfigMessage (parse, FcSevereWarning,
"invalid constant used : %s",
expr->u.constant);
break;
case FcOpQuest:
FcTypecheckExpr (parse, expr->u.tree.left, FcTypeBool);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment