Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Additions to IDL4 Support #2244

Merged

Conversation

iguessthislldo
Copy link
Member

@iguessthislldo iguessthislldo commented Jun 9, 2024

- Support the following IDL v4 features:
  - Empty structs
  - `octet` and `wchar` union discriminators
  - Allow using empty parentheses in annotation applications to
    workaround syntax errors when an annotation with no arguments has to
    be followed by a complete scoped name:
      `@example_annotation() ::ex::ExampleType`
  - Reserve the `bitfield`, `bitmask`, and `bitset` keywords in IDL v4
    (these are not implemented yet)
- Allow using `map` as an identifier in IDL v3 again
@iguessthislldo iguessthislldo changed the title Support 3 Small IDL4 Features Minor Additions to IDL4 Support Jun 10, 2024
TAO/TAO_IDL/fe/idl.ypp Outdated Show resolved Hide resolved
TAO/NEWS Show resolved Hide resolved
mitza-oci
mitza-oci previously approved these changes Jun 10, 2024
@iguessthislldo iguessthislldo merged commit 230473b into DOCGroup:master Jun 12, 2024
43 of 44 checks passed
@iguessthislldo iguessthislldo deleted the igtd/small-idl4-features branch June 12, 2024 13:50
iguessthislldo added a commit to iguessthislldo/OpenDDS that referenced this pull request Jun 13, 2024
DOCGroup/ACE_TAO#2244 sets
`TAO_IDL_HAS_OCTET_AND_WCHAR_UNION_DISCS` to 1, but the char_literals
wchar union contains all the escape sequences literals, which are not
supported in TAO_IDL: DOCGroup/ACE_TAO#1284.
This changes it to check the planned macro name.

Also removed the hex and octet escape sequences for wchar, which are
probably not indented to work with wchar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants