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

Skip to content
Commit 634ce67a authored by Henri Chataing's avatar Henri Chataing Committed by Cherrypicker Worker
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
(cherry picked from https://android-review.googlesource.com/q/commit:36db1e2b61ec46e6b3e240796ff500294823acca)
Merged-In: Ib51f61ad2cd39f8686ad9d94a6699cf2b3b318e7
Change-Id: Ib51f61ad2cd39f8686ad9d94a6699cf2b3b318e7
parent 19229c8b
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