diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-04-09 08:06:37 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-04-09 08:06:37 +0000 |
commit | e07e1b743c5d9fa2910a944c23f4e21a8a807f00 (patch) | |
tree | 3658a6e8a123f8a8b6db5398fabdc94d2305b9c6 /ACE/ace/Svc_Conf.y | |
parent | 6065adf3aa382359a98aa5ad3124d8af2c453c64 (diff) | |
download | ATCD-e07e1b743c5d9fa2910a944c23f4e21a8a807f00.tar.gz |
Wed Apr 9 08:06:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Svc_Conf.y')
-rw-r--r-- | ACE/ace/Svc_Conf.y | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ACE/ace/Svc_Conf.y b/ACE/ace/Svc_Conf.y index 983e997d589..a3bd23b9256 100644 --- a/ACE/ace/Svc_Conf.y +++ b/ACE/ace/Svc_Conf.y @@ -291,13 +291,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // messages. void -yyerror (char const * s) -{ - yyerror (-1, -1, s); -} - -void -yyerror (int yyerrno, int yylineno, char const * s) +yyerror (int yyerrno, int yylineno, ACE_TCHAR const * s) { #if defined (ACE_NLOGGING) ACE_UNUSED_ARG (yyerrno); @@ -309,7 +303,13 @@ yyerror (int yyerrno, int yylineno, char const * s) ACE_TEXT ("ACE (%P|%t) [error %d] on line %d: %s\n"), yyerrno, yylineno, - ACE_TEXT_CHAR_TO_TCHAR (s))); + s)); +} + +void +yyerror (ACE_TCHAR const * s) +{ + yyerror (-1, -1, s); } // Note that SRC_REC represents left context, which is the STREAM * |