version 1.17, 2007/10/06 12:55:48 |
version 1.18, 2008/02/16 01:00:00 |
|
|
static int |
static int |
yyerror(const char *s) |
yyerror(const char *s) |
{ |
{ |
|
#if !defined(TEST) |
char *str; |
char *str; |
|
|
if (isspace(yyInput[0]) || !isprint(yyInput[0])) |
(void)xasprintf(&str, "parsing date string: %s", s); |
(void)xasprintf(&str, |
|
"%s: unexpected char 0x%02x in date string", s, yyInput[0]); |
|
else |
|
(void)xasprintf(&str, "%s: unexpected %s in date string", |
|
s, yyInput); |
|
|
|
cvs_log(LP_ERR, "%s", str); |
cvs_log(LP_ERR, "%s", str); |
xfree(str); |
xfree(str); |
|
#endif |
return (0); |
return (0); |
} |
} |
|
|