summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf.y
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-06-24 03:18:46 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-06-24 03:18:46 +0000
commit216baf36ba164c721ec63c9fcd5f99ec7ce7d8fc (patch)
tree26d1ec75b0e0b24b70407420fc6f40ff270dc2aa /ace/Svc_Conf.y
parent3ddc0a5d7b278bc58944009be265942d85c06671 (diff)
downloadATCD-216baf36ba164c721ec63c9fcd5f99ec7ce7d8fc.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Svc_Conf.y')
-rw-r--r--ace/Svc_Conf.y38
1 files changed, 19 insertions, 19 deletions
diff --git a/ace/Svc_Conf.y b/ace/Svc_Conf.y
index b75324a7c52..8ff5d5708be 100644
--- a/ace/Svc_Conf.y
+++ b/ace/Svc_Conf.y
@@ -27,7 +27,7 @@ ACE_Obstack *ace_obstack;
%type <type_> type status
%type <parse_node_> dynamic static suspend resume remove module_list stream
%type <parse_node_> stream_modules module svc_config_entry
-%type <ACE_Static_Node_> stream_ops
+%type <static_node_> stream_ops
%type <svc_record_> svc_location
%type <location_node_> svc_initializer
@@ -94,9 +94,9 @@ stream
{
$$ = new ACE_Stream_Node ($2, $3);
}
- | ACE_USTREAM ACE_IDENT { $<ACE_Static_Node_>$ = new ACE_Static_Node ($2); } stream_modules
+ | ACE_USTREAM ACE_IDENT { $<static_node_>$ = new ACE_Static_Node ($2); } stream_modules
{
- $$ = new ACE_Dummy_Node ($<ACE_Static_Node_>3, $4);
+ $$ = new ACE_Dummy_Node ($<static_node_>3, $4);
}
;
@@ -113,7 +113,7 @@ stream_modules
: ACE_LBRACE
{
// Initialize left context...
- $<ACE_Static_Node_>$ = $<ACE_Static_Node_>0;
+ $<static_node_>$ = $<static_node_>0;
}
module_list ACE_RBRACE
{
@@ -130,52 +130,52 @@ module_list
module
: dynamic
{
- ACE_ARGV args ($<ACE_Static_Node_>1->parameters ());
- ACE_Module_Type *mt = get_module ($<ACE_Static_Node_>-1, $<ACE_Static_Node_>1);
+ ACE_ARGV args ($<static_node_>1->parameters ());
+ ACE_Module_Type *mt = get_module ($<static_node_>-1, $<static_node_>1);
- if (::strcmp ($<ACE_Static_Node_>1->name (),
+ if (::strcmp ($<static_node_>1->name (),
((MT_Module *) mt->object ())->name ()) != 0)
ACE_ERROR ((LM_ERROR, "warning, service name %s is different from Module name %s\n",
- $<ACE_Static_Node_>1->name (), ((MT_Module *) mt->object ())->name ()));
+ $<static_node_>1->name (), ((MT_Module *) mt->object ())->name ()));
if (mt->init (args.argc (), args.argv ()) == -1
- || ((ACE_Stream_Type *) ($<ACE_Static_Node_>-1)->record ()->type ())->push (mt) == -1)
+ || ((ACE_Stream_Type *) ($<static_node_>-1)->record ()->type ())->push (mt) == -1)
{
ACE_ERROR ((LM_ERROR, "dynamic initialization failed for Module %s\n",
- $<ACE_Static_Node_>1->name ()));
+ $<static_node_>1->name ()));
yyerrno++;
}
}
| static
{
- ACE_Module_Type *mt = get_module ($<ACE_Static_Node_>-1, $<ACE_Static_Node_>1->name ());
- if (::strcmp ($<ACE_Static_Node_>1->name (),
+ ACE_Module_Type *mt = get_module ($<static_node_>-1, $<static_node_>1->name ());
+ if (::strcmp ($<static_node_>1->name (),
((MT_Module *) mt->object ())->name ()) != 0)
ACE_ERROR ((LM_ERROR, "warning, service name %s is different from Module name %s\n",
- $<ACE_Static_Node_>1->name (), ((MT_Module *) mt->object ())->name ()));
- if (((ACE_Stream_Type *) ($<ACE_Static_Node_>-1)->record ()->type ())->push (mt) == -1)
+ $<static_node_>1->name (), ((MT_Module *) mt->object ())->name ()));
+ if (((ACE_Stream_Type *) ($<static_node_>-1)->record ()->type ())->push (mt) == -1)
yyerrno++;
}
| suspend
{
- ACE_Module_Type *mt = get_module ($<ACE_Static_Node_>-1, $<ACE_Static_Node_>1->name ());
+ ACE_Module_Type *mt = get_module ($<static_node_>-1, $<static_node_>1->name ());
if (mt != 0)
mt->suspend ();
}
| resume
{
- ACE_Module_Type *mt = get_module ($<ACE_Static_Node_>-1, $<ACE_Static_Node_>1->name ());
+ ACE_Module_Type *mt = get_module ($<static_node_>-1, $<static_node_>1->name ());
if (mt != 0)
mt->resume ();
}
| remove
{
- ACE_Module_Type *mt = get_module ($<ACE_Static_Node_>-1, $<ACE_Static_Node_>1->name ());
+ ACE_Module_Type *mt = get_module ($<static_node_>-1, $<static_node_>1->name ());
if (mt != 0
- && ((ACE_Stream_Type *) ($<ACE_Static_Node_>-1)->record ()->type ())->remove (mt) == -1)
+ && ((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",
- $<ACE_Static_Node_>1->name (), ($<ACE_Static_Node_>-1)->name ()));
+ $<static_node_>1->name (), ($<static_node_>-1)->name ()));
yyerrno++;
}
}