Add deriving of immediates for the Hash ability

This commit is contained in:
Ayaz Hafiz 2022-10-04 11:09:08 -05:00
parent 7bd6523175
commit 427528e659
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
7 changed files with 134 additions and 0 deletions

View file

@ -18,6 +18,7 @@ use util::Env;
mod decoding;
mod encoding;
mod hash;
mod util;
@ -77,6 +78,7 @@ fn build_derived_body(
DeriveKey::Decoder(decoder_key) => {
decoding::derive_decoder(&mut env, decoder_key, derived_symbol)
}
DeriveKey::Hash(hash_key) => hash::derive_hash(&mut env, hash_key, derived_symbol),
};
let def = Def {