Skip to content

Commit

Permalink
Work around name clash of bitfield and unit fields on spicy-1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannier committed Sep 21, 2023
1 parent 913dc50 commit fea4cff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion analyzer/asn1.spicy
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ type ASN1Tag = unit {
var class: ASN1Class;
var constructed: bool;

: bitfield(8) {
# TODO(bbannier): Use an anonymous bitfield here once zeek/spicy#1533 is fixed.
bits: bitfield(8) {
num: 0..4;
constructed: 5;
class: 6..7;
Expand Down

0 comments on commit fea4cff

Please sign in to comment.