Jump to content

'extend' syntax question - struct qualifiers

Recommended Posts

In examining the early adopter specification, I'm noticing that the 'extend' syntax will accept a 'struct' type_identifier, but it does not accept a 'struct_declaration' in general--which could include the struct_qualifiers "buffer", "stream", "state",  or "resource".

This would mean that a buffer declared as:

buffer data_buff_s {
  rand data_s my_data;

would be extended as

extend struct data_buff_s {
  rand int[0..3] my_id;


extend buffer data_buff_s {
  rand int[0..3] my_id;


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...