Skip to content

Commit

Permalink
Merge pull request #20 from newcomb-luke/hotfix/prl-labels
Browse files Browse the repository at this point in the history
Fix prl not accepting function symbols
  • Loading branch information
newcomb-luke authored Apr 4, 2023
2 parents ddb4df0 + cc96883 commit f9b8c2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kasm"
version = "2.0.2"
version = "2.0.3"
authors = ["Luke Newcomb <[email protected]>"]
edition = "2021"
license = "GPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/output/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ impl<'a, 'b, 'c> Verifier<'a, 'b, 'c> {
Opcode::Targ => &[&[]],
Opcode::Tcan => &[&[]],

Opcode::Prl => &[&[OperandType::String]],
Opcode::Prl => &[&[OperandType::String, OperandType::Function]],
Opcode::Pdrl => &[
&[OperandType::String, OperandType::Function],
&[OperandType::Bool],
Expand Down

0 comments on commit f9b8c2d

Please sign in to comment.