Bug 3940

Summary: add support for dds x-types
Product: TAO Reporter: Johnny Willemsen <jwillemsen>
Component: IDL CompilerAssignee: DOC Center Support List (internal) <tao-support>
Status: ASSIGNED ---    
Severity: normal CC: mitza, olivermkellogg
Priority: P3    
Version: 1.8.3   
Hardware: All   
OS: Linux   
Attachments: DDS X-Types files
TAO/TAO_IDL/fe/idl.ll patch to make tao_idl ignore IDL4 annotations

Description Johnny Willemsen 2010-12-08 12:33:48 CST
the dds x-types specification adds annotations to idl, would be nice if tao_idl could handle this
Comment 1 Jeff Parsons 2010-12-08 12:45:05 CST
What's an x-type?
Comment 2 Johnny Willemsen 2010-12-08 13:20:01 CST
it is short for dds extensible types, google for it, it is on the OMG website, it is an extension to dds which also extend the idl grammar
Comment 3 Johnny Willemsen 2010-12-10 13:19:20 CST
Created attachment 1340 [details]
DDS X-Types files

DDS X-Types files
Comment 4 Oliver Kellogg 2018-01-11 13:34:33 CST
Created attachment 1524 [details]
TAO/TAO_IDL/fe/idl.ll patch to make tao_idl ignore IDL4 annotations

IDL4 and DDS-XTypes introduce annotations along the lines of Java.
The tao_idl translator gets confused by such annotations; the patch fixes this.

After applying the patch, in directory TAO/TAO_IDL I executed the script regen.sh and that updated some generated files:

fe/idl.tab.cpp
fe/idl.tab.hpp
fe/idl.ypp
fe/idl.yy.cpp

If you wish, I can also attach the diff of those files - but they seem to depend on the exact version of flex and bison used; in my case, the diff was pretty laden with irrelevant deltas.