summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf.y
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-24 23:25:58 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-24 23:25:58 +0000
commit7d7f1045fa9f97b6797ddf70b66c7b78aadc1105 (patch)
tree12679470148b109564cc28a52fa7aeb5732f5b00 /ace/Svc_Conf.y
parentcfbd608bdcbfb343bb7847830cb8d332fe181d6f (diff)
downloadATCD-7d7f1045fa9f97b6797ddf70b66c7b78aadc1105.tar.gz
Done
Diffstat (limited to 'ace/Svc_Conf.y')
-rw-r--r--ace/Svc_Conf.y11
1 files changed, 8 insertions, 3 deletions
diff --git a/ace/Svc_Conf.y b/ace/Svc_Conf.y
index 842fbf1ce7b..b75324a7c52 100644
--- a/ace/Svc_Conf.y
+++ b/ace/Svc_Conf.y
@@ -23,7 +23,7 @@ ACE_Obstack *ace_obstack;
%start svc_config_entries
-%type <ident_> ACE_IDENT ACE_STRING ACE_PATHNAME parameters_opt
+%type <ident_> ACE_IDENT ACE_STRING ACE_PATHNAME pathname parameters_opt
%type <type_> type status
%type <parse_node_> dynamic static suspend resume remove module_list stream
%type <parse_node_> stream_modules module svc_config_entry
@@ -207,11 +207,11 @@ status
;
svc_initializer
- : ACE_PATHNAME ACE_COLON ACE_IDENT
+ : pathname ACE_COLON ACE_IDENT
{
$$ = new ACE_Object_Node ($1, $3);
}
- | ACE_PATHNAME ACE_COLON ACE_IDENT ACE_LPAREN ACE_RPAREN
+ | pathname ACE_COLON ACE_IDENT ACE_LPAREN ACE_RPAREN
{
$$ = new ACE_Function_Node ($1, $3);
}
@@ -237,6 +237,11 @@ parameters_opt
| /* EMPTY */ { $$ = 0; }
;
+pathname
+ : ACE_PATHNAME
+ | ACE_IDENT
+ ;
+
%%
// Prints the error string to standard output. Cleans up the error
// messages.