summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf.y
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-17 06:19:18 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-17 06:19:18 +0000
commit6583e0193a381c2e4222ca14e6813022e337e6f4 (patch)
tree8ff83fe601040cb553ad86da01626f8533f33d63 /ace/Svc_Conf.y
parent3c319f1ee8eb12b397e72f99bda9b21660c46600 (diff)
downloadATCD-6583e0193a381c2e4222ca14e6813022e337e6f4.tar.gz
Regular CE Tricks [tm].
Diffstat (limited to 'ace/Svc_Conf.y')
-rw-r--r--ace/Svc_Conf.y30
1 files changed, 17 insertions, 13 deletions
diff --git a/ace/Svc_Conf.y b/ace/Svc_Conf.y
index e7738d44350..b248c66eb8c 100644
--- a/ace/Svc_Conf.y
+++ b/ace/Svc_Conf.y
@@ -153,8 +153,8 @@ module
if (mt->init (args.argc (), args.argv ()) == -1
|| ((ACE_Stream_Type *) ($<static_node_>-1)->record ()->type ())->push (mt) == -1)
{
- ACE_ERROR ((LM_ERROR, "dynamic initialization failed for Module %s\n",
- $<static_node_>1->name ()));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("dynamic initialization failed for Module %s\n"),
+ ASYS_WIDE_STRING ($<static_node_>1->name ())));
yyerrno++;
}
}
@@ -184,8 +184,9 @@ module
if (mt != 0
&& ((ACE_Stream_Type *) ($<static_node_>-1)->record ()->type ())->remove (mt) == -1)
{
- ACE_ERROR ((LM_ERROR, "cannot remove Module_Type %s from STREAM_Type %s\n",
- $<static_node_>1->name (), ($<static_node_>-1)->name ()));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("cannot remove Module_Type %s from STREAM_Type %s\n"),
+ ASYS_WIDE_STRING ($<static_node_>1->name ()),
+ ASYS_WIDE_STRING (($<static_node_>-1)->name ())));
yyerrno++;
}
}
@@ -275,8 +276,8 @@ pathname
void
yyerror (char *s)
{
- ACE_ERROR ((LM_ERROR, "[error %d] on line %d: %s\n",
- ++yyerrno, yylineno, s));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("[error %d] on line %d: %s\n"),
+ ++yyerrno, yylineno, ASYS_WIDE_STRING (s)));
}
// Note that SRC_REC represents left context, which is the STREAM *
@@ -292,8 +293,9 @@ get_module (ACE_Static_Node *str_rec, const char *svc_name)
if (sr == 0 || st == 0 || mt == 0)
{
- ACE_ERROR ((LM_ERROR, "cannot locate Module_Type %s in STREAM_Type %s\n",
- svc_name, str_rec->name ()));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("cannot locate Module_Type %s in STREAM_Type %s\n"),
+ ASYS_WIDE_STRING (svc_name),
+ ASYS_WIDE_STRING (str_rec->name ())));
yyerrno++;
}
@@ -312,8 +314,9 @@ get_module (ACE_Static_Node *str_rec, ACE_Static_Node *svc_type)
if (sr == 0 || st == 0 || mt == 0)
{
- ACE_ERROR ((LM_ERROR, "cannot locate Module_Type %s or STREAM_Type %s\n",
- svc_type->name (), str_rec->name ()));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("cannot locate Module_Type %s or STREAM_Type %s\n"),
+ ASYS_WIDE_STRING (svc_type->name ()),
+ ASYS_WIDE_STRING (str_rec->name ())));
yyerrno++;
}
@@ -325,8 +328,9 @@ get_module (ACE_Static_Node *str_rec, ACE_Static_Node *svc_type)
if (ACE_OS::strcmp (mp->name (), module_type_name) != 0)
{
ACE_DEBUG ((LM_DEBUG,
- "warning: assigning Module_Type name %s to Module %s since names differ\n",
- module_type_name, mp->name ()));
+ ASYS_TEXT ("warning: assigning Module_Type name %s to Module %s since names differ\n"),
+ ASYS_WIDE_STRING (module_type_name),
+ ASYS_WIDE_STRING (mp->name ())));
mp->name (module_type_name);
}
@@ -363,7 +367,7 @@ ace_create_service_type (const char *name,
0);
break;
default:
- ACE_ERROR ((LM_ERROR, "unknown case\n"));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("unknown case\n")));
yyerrno++;
break;
}