summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe/idl.ll
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/fe/idl.ll')
-rw-r--r--TAO/TAO_IDL/fe/idl.ll9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/fe/idl.ll b/TAO/TAO_IDL/fe/idl.ll
index dfe41a3e039..ff88c20ada1 100644
--- a/TAO/TAO_IDL/fe/idl.ll
+++ b/TAO/TAO_IDL/fe/idl.ll
@@ -846,7 +846,8 @@ idl_store_pragma (char *buf)
// Delete tmp since add_ciao_spl_ts_file_names() doesn't take its ownership.
delete [] tmp;
}
- else if (ACE_OS::strncmp (buf + 8, "ciao ami4ccm interface", 22) == 0)
+ else if ((ACE_OS::strncmp (buf + 8, "ciao ami4ccm interface", 22) == 0) ||
+ (ACE_OS::strncmp (buf + 8, "ami4ccm interface", 17) == 0))
{
if (idl_global->in_main_file ())
{
@@ -857,7 +858,8 @@ idl_store_pragma (char *buf)
delete [] tmp;
}
}
- else if (ACE_OS::strncmp (buf + 8, "ciao ami4ccm receptacle", 23) == 0)
+ else if ((ACE_OS::strncmp (buf + 8, "ciao ami4ccm receptacle", 23) == 0)||
+ (ACE_OS::strncmp (buf + 8, "ami4ccm receptacle", 18) == 0))
{
char *tmp = idl_get_pragma_string (buf);
@@ -876,7 +878,8 @@ idl_store_pragma (char *buf)
// Delete tmp since add_ciao_spl_ts_file_names() doesn't take its ownership.
delete [] tmp;
}
- else if (ACE_OS::strncmp (buf + 8, "ciao ami4ccm idl", 16) == 0)
+ else if ((ACE_OS::strncmp (buf + 8, "ciao ami4ccm idl", 16) == 0) ||
+ (ACE_OS::strncmp (buf + 8, "ami4ccm idl", 11) == 0))
{
char *tmp = idl_get_pragma_string (buf);