diff --git a/Cargo.lock b/Cargo.lock index 9f7451a..2452ab4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -301,7 +301,7 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "mindustry_logic_bang_lang" -version = "0.16.16" +version = "0.16.17" dependencies = [ "display_source", "logic_lint", @@ -535,7 +535,7 @@ dependencies = [ [[package]] name = "syntax" -version = "0.2.35" +version = "0.2.36" dependencies = [ "either", "tag_code", diff --git a/Cargo.toml b/Cargo.toml index bc1b476..7f82489 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mindustry_logic_bang_lang" -version = "0.16.16" +version = "0.16.17" edition = "2021" authors = ["A4-Tacks "] diff --git a/tools/syntax/Cargo.toml b/tools/syntax/Cargo.toml index 155c3c1..8808dfa 100644 --- a/tools/syntax/Cargo.toml +++ b/tools/syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "syntax" -version = "0.2.35" +version = "0.2.36" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/tools/syntax/src/lib.rs b/tools/syntax/src/lib.rs index 05524d0..7df1b3b 100644 --- a/tools/syntax/src/lib.rs +++ b/tools/syntax/src/lib.rs @@ -4755,7 +4755,8 @@ pub fn op_expr_build_results( ); f(meta, result, value) }, - (len, 1) if f == op_expr_tools::top_assign_oper => { + (len, 1) + if f as *const () == op_expr_tools::top_assign_oper as *const () => { let mut lines = Vec::with_capacity(len + 1); let value = values.pop().unwrap(); let mut results = results.into_iter();