Open lenigoor opened 4 years ago
That’s a 2008 construct? I am not surprised that I don’t support that. I’ll have to research that and see if there’s anything I can do. The assignment construction is one of the most problematic because it is so generic.
It’s Thanksgiving in the US so will probably be a few days before I can dig into this. Thanks for the report. I really appreciate it.
Alright. I can't say I see this structure a lot but maybe I should. It seems useful. In any event I found notes in Ashenden (page 102 in 3rd edition) on aggregate assignments in VHDL 87/93/2002 (where it was much less useful) and then in 2008, it does seem to allow a lot of possibilities. I'll have to see if that's something I can work into the signal assignment context rules. It'll probably take a special match.
Basic support added. May be able to build on that in the future.
Awesome, thank you for adding some basic support 😄
No trouble at all. If I can figure out how to scope it better, I'll do so though I'm worried it would require a complete restructuring of the syntax definition. And I have a sneaking suspicion it might break if you try to aggregate assign to slices, but it's a little step forward. Honestly I probably ought to start using this construct in my own code; it seems pretty handy.
Can you please also add the variable assignment operator (:=) to this fix? It's VHDL 2008 too.
Sure I'll see what I can do.
The following construction is allowed with the "new" VHDL-2008 syntax, but the highlighting on the last bracket does not agree.