summaryrefslogtreecommitdiff
path: root/ACE/ace/Svc_Conf.y
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-04-04 22:28:48 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-04-04 22:28:48 +0000
commitb2a641dbe426a09df50ede495d19834238d3539c (patch)
tree72de94ddc6d6d8a1ba0d5e508f526ef2029e9082 /ACE/ace/Svc_Conf.y
parent64f732c904b2724a297e77b951f2593d308b24a0 (diff)
downloadATCD-b2a641dbe426a09df50ede495d19834238d3539c.tar.gz
ChangeLogTag: Fri Apr 4 21:43:35 UTC 2008 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'ACE/ace/Svc_Conf.y')
-rw-r--r--ACE/ace/Svc_Conf.y30
1 files changed, 6 insertions, 24 deletions
diff --git a/ACE/ace/Svc_Conf.y b/ACE/ace/Svc_Conf.y
index 6b8ee2a1ad7..3f4e519612b 100644
--- a/ACE/ace/Svc_Conf.y
+++ b/ACE/ace/Svc_Conf.y
@@ -170,31 +170,7 @@ module_list
module
: dynamic
{
- ACE_Static_Node *svc_type = $<static_node_>1;
-
- if (svc_type != 0)
- {
- ACE_Static_Node *module = $<static_node_>-1;
-
- ACE_ARGV args (svc_type->parameters ());
- ACE_Module_Type *mt = ace_get_module (module->record (ACE_SVC_CONF_PARAM->config),
- svc_type->record (ACE_SVC_CONF_PARAM->config),
- ACE_SVC_CONF_PARAM->yyerrno);
- ACE_Stream_Type *st =
- dynamic_cast<ACE_Stream_Type *> (const_cast<ACE_Service_Type_Impl *> (module->record (ACE_SVC_CONF_PARAM->config)->type ()));
-
- if (!st
- || !mt
- || mt->init (args.argc (), args.argv ()) == -1
- || st->push (mt) == -1)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_LIB_TEXT ("dynamic initialization failed for Module %s\n"),
- svc_type->name ()));
- ACE_SVC_CONF_PARAM->yyerrno++;
}
- }
- }
| static
{
ACE_Static_Node *sn = $<static_node_>-1;
@@ -319,6 +295,12 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
// messages.
void
+yyerror (char const * s)
+{
+ yyerror (-1, -1, s);
+}
+
+void
yyerror (int yyerrno, int yylineno, char const * s)
{
#if defined (ACE_NLOGGING)