From e85af8252114c426227bc21e66419acb3a5d55cf Mon Sep 17 00:00:00 2001 From: Michael Reed <18372368+chakravala@users.noreply.github.com> Date: Thu, 9 Jul 2020 12:24:38 -0400 Subject: [PATCH] transitioned to AbstractTensors v0.5 --- Project.toml | 4 ++-- src/parser.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 6d3b74a..4449bfc 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Reduce" uuid = "93e0c654-6965-5f22-aba9-9c1ae6b3c259" authors = ["Michael Reed"] -version = "1.2.6" +version = "1.2.7" [deps] REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" @@ -16,7 +16,7 @@ julia = "1" ForceImport = "0" SyntaxTree = "1" ReplMaker = "0" -AbstractTensors = "0.4.1, 2" +AbstractTensors = "0.5" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/src/parser.jl b/src/parser.jl index a814679..08533c0 100644 --- a/src/parser.jl +++ b/src/parser.jl @@ -623,7 +623,7 @@ end elseif expr.head == :(::) show_expr(io,expr.args[1]) elseif expr.head == :macrocall - if expr.args[1] == Symbol("@big_str") || expr.args[1] == Symbol("@int128_str") + if expr.args[1] ∈ (Symbol("@big_str"),Symbol("@int128_str"),Expr(:.,:Core,QuoteNode(Symbol("@big_str"))),Expr(:.,:Core,QuoteNode(Symbol("@int128_str")))) print(io,expr.args[end]) else throw(ReduceError("Macro $(expr.args[1]) block structure not supported\n\n$expr"))