ossp-pkg/cfg/cfg_syn_parse.y 1.9 -> 1.10
--- cfg_syn_parse.y 2004/11/20 12:54:07 1.9
+++ cfg_syn_parse.y 2004/11/28 14:17:52 1.10
@@ -53,7 +53,7 @@
/* generate verbose error messages and remember them inside the context */
#undef yyerror
#define yyerror(msg) \
- cfg_syn_error(CTX, CFG_ERR_SYN, &yylloc, msg)
+ cfg_syn_error(CTX, CFG_ERR_SYN, &yylloc, "%s", msg)
/* scanner state transition */
extern void cfg_syn_scan_push(cfg_syn_ctx_t *, const char *state);
|
|