Skip to content

Fix missing enum value type names - #25

Merged
tbybell merged 2 commits into
gtkwave:mainfrom
Rodrigodd:upstream/enum-value-type-names
Oct 18, 2026
Merged

tbybell merged 2 commits into
gtkwave:mainfrom
Rodrigodd:upstream/enum-value-type-names

Conversation

@Rodrigodd

Copy link
Copy Markdown
Contributor

Problem: When writing enum attributes as VCD, fstReaderProcessHier() uses enumvaluetypes[] to convert each subtype to text. The array omits FST_EV_REG and FST_EV_TIME even though the range check accepts them, so either subtype reads past its end.

Solution: add the missing reg and time entries.

Problem: When writing enum attributes as VCD, fstReaderProcessHier() uses
enumvaluetypes[] to convert each subtype to text. The array omits
FST_EV_REG and FST_EV_TIME even though the range check accepts them, so
either subtype reads past its end.

Solution: add the missing `reg` and `time` entries.

AI-assisted
@tbybell
tbybell merged commit 49cb9cb into gtkwave:main Oct 18, 2026
3 checks passed
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.

2 participants