diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-11-22 20:28:46 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-11-22 20:28:46 +0000 |
commit | 491a19c582d1380d55684144283d7ff2ec7984cd (patch) | |
tree | 91c1657020930cd4f925f8fcf907573acead0895 /TAO/TAO_IDL/be/be_visitor_root | |
parent | 591bd4f595d2b9fc82410b344b27b566a344c540 (diff) | |
download | ATCD-491a19c582d1380d55684144283d7ff2ec7984cd.tar.gz |
ChangeLogTag: Wed Nov 22 20:18:50 UTC 2006 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_root')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_root/root.cpp | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_root/root.cpp b/TAO/TAO_IDL/be/be_visitor_root/root.cpp index 44ae5a92566..74b1174c595 100644 --- a/TAO/TAO_IDL/be/be_visitor_root/root.cpp +++ b/TAO/TAO_IDL/be/be_visitor_root/root.cpp @@ -272,8 +272,8 @@ int be_visitor_root::visit_root (be_root *node) { case TAO_CodeGen::TAO_ROOT_CH: { - be_visitor_traits visitor (&ctx); - status = node->accept (&visitor); + be_visitor_traits traits_visitor (&ctx); + status = node->accept (&traits_visitor); if (status == -1) { @@ -283,6 +283,21 @@ int be_visitor_root::visit_root (be_root *node) "failed to generate traits\n"), -1); } + + if (be_global->gen_template_export ()) + { + be_visitor_template_export export_visitor (&ctx); + status = node->accept (&export_visitor); + + if (status == -1) + { + ACE_ERROR_RETURN ((LM_ERROR, + "(%N:%l) be_visitor_root::" + "visit_root - " + "failed to export templates\n"), + -1); + } + } } break; |