Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 36db1e2b authored by Henri Chataing's avatar Henri Chataing
Browse files

pdl: Specialize Field::Fixed into FixedScalar and FixedEnum

There existed an implicit assumption that width, value and
enum_id, tag_id were mutually exclusive in the Field::Fixed
case.
This change makes the assumption explicit by modiyfing
the AST to add specialized cases.

Test: cargo build && cargo test
Change-Id: Ib51f61ad2cd39f8686ad9d94a6699cf2b3b318e7
parent 1fb992a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment