-
Notifications
You must be signed in to change notification settings - Fork 374
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
iguessthislldo
merged 3 commits into
DOCGroup:master
from
iguessthislldo:igtd/small-idl4-features
Jun 12, 2024
Merged
Minor Additions to IDL4 Support #2244
iguessthislldo
merged 3 commits into
DOCGroup:master
from
iguessthislldo:igtd/small-idl4-features
Jun 12, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9df4eb9
to
75650bc
Compare
- 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
75650bc
to
f78f458
Compare
jwillemsen
reviewed
Jun 10, 2024
jwillemsen
reviewed
Jun 10, 2024
jwillemsen
reviewed
Jun 10, 2024
jwillemsen
reviewed
Jun 10, 2024
jwillemsen
reviewed
Jun 10, 2024
mitza-oci
previously approved these changes
Jun 10, 2024
mitza-oci
approved these changes
Jun 11, 2024
jwillemsen
approved these changes
Jun 12, 2024
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
octet
andwchar
union discriminators (Fixes IDL4 union discriminator extension #1255)typedef
s ofint8
anduint8
as union discriminatorsworkaround syntax errors when an annotation with no arguments has to
be followed by a complete scoped name:
@example_annotation() ::ex::ExampleType
bitfield
,bitmask
, andbitset
keywords in IDL v4(these are not implemented yet) (Fixes IDL4 keyword escaping needs to be extended with the new keywords #1256)
map
as an identifier in IDL v3 again