Ticket #44573

generate_packets.py: restructure parsing and handling of type aliases

Open Date: 2022-05-13 03:31 Last Update: 2022-05-14 20:20

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

Part of #43927. Current type alias code is unnecessarily convoluted. Remove the Type class and replace the list of alias definitions with a dict mapping names to values.

Also consider handling duplicate type aliases – current code effectively silently ignores later definitions with the same name.

Ticket History (3/4 Histories)

2022-05-13 03:31 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: restructure parsing and handling of type aliases" created
2022-05-13 03:39 Updated by: alienvalkyrie
  • Resolution Update from None to Accepted
Comment

Depends on #44571 and #44572. Does not interfere with #44563

2022-05-14 20:20 Updated by: alienvalkyrie
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login