Skip to content

Refactor labels and aliases - #497

Open
Schottkyc137 wants to merge 21 commits into
VHDL-LS:masterfrom
Schottkyc137:label-alias-refactor
Open

Refactor labels and aliases#497
Schottkyc137 wants to merge 21 commits into
VHDL-LS:masterfrom
Schottkyc137:label-alias-refactor

Conversation

@Schottkyc137

@Schottkyc137 Schottkyc137 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Previously, labels attached to single nodes were aliases (e.g., name:'#identifier' -> #identifier was spelled name() in the generated AST). Single-element nodes (Foo=Bar) generated wrapper nodes.
This PR inverts this relationship: Now name:'#identifier' would generate a new wrapper-node and Foo=Bar generates an alias. This aligns better with the LRM and brings the diffing items down to 88 differing, 125 identical, 75 only in vhdl-08.ungram, 25 only in vhdl-08-modified.ungram (previously: 133 differing, 68 identical, 87 only in LRM, 71 only in modified)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant