Skip to content

Commit

Permalink
Add bit variable variant
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Nov 6, 2024
1 parent dc3539e commit 6c10d59
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/clexpr/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ pub enum ClVariable {
/// The register index.
index: u32,
},
/// A constant bit.
#[serde(rename = "bit")]
Bit {
/// The bit index.
index: u32,
},
}

impl Default for ClArgument {
Expand Down

0 comments on commit 6c10d59

Please sign in to comment.