From 751c8b1c4cc3282117b49f3c0f712f2233ee9fde Mon Sep 17 00:00:00 2001 From: parsons Date: Fri, 21 Aug 2009 16:10:48 +0000 Subject: ChangeLogTag: Fri Aug 21 16:07:29 UTC 2009 Jeff Parsons --- modules/TAO/ChangeLog | 7 +++++++ modules/TAO/TAO_IDL/fe/idl.yy | 7 +++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/modules/TAO/ChangeLog b/modules/TAO/ChangeLog index ff2a254c362..3091f17a805 100644 --- a/modules/TAO/ChangeLog +++ b/modules/TAO/ChangeLog @@ -1,3 +1,10 @@ +Fri Aug 21 16:07:29 UTC 2009 Jeff Parsons + + * TAO_IDL/fe/idl.yy: + + Added code to set the member of the big parsing union with + the pointer to an instantiated connector, once it's created. + Fri Aug 21 13:51:19 UTC 2009 Jeff Parsons * TAO_IDL/ast/ast_instantiated_connector.cpp: diff --git a/modules/TAO/TAO_IDL/fe/idl.yy b/modules/TAO/TAO_IDL/fe/idl.yy index 99aef7c9680..b19ef42278c 100644 --- a/modules/TAO/TAO_IDL/fe/idl.yy +++ b/modules/TAO/TAO_IDL/fe/idl.yy @@ -286,7 +286,7 @@ AST_Decl *tao_enum_constant_decl = 0; %type template_type_spec sequence_type_spec string_type_spec %type struct_type enum_type switch_type_spec union_type %type array_declarator op_type_spec seq_head wstring_type_spec -%type param_type_spec +%type param_type_spec connector_inst_spec %type scoped_name interface_type component_inheritance_spec %type home_inheritance_spec primary_key_spec @@ -6845,6 +6845,7 @@ connector_inst_spec { // connector_inst_spec : template_inst UTL_Scope *s = idl_global->scopes ().top_non_null (); + $$ = 0; AST_Decl *d = s->lookup_by_name ($1->name_, true); @@ -6873,13 +6874,11 @@ connector_inst_spec Identifier id ("connector"); UTL_ScopedName sn (&id, 0); - AST_Instantiated_Connector *ic = + $$ = idl_global->gen ()->create_instantiated_connector ( &sn, c, args); - - (void) s->fe_add_instantiated_connector (ic); } } } -- cgit v1.2.1