From a5978ff6b6fb99b1601ed24ac6ac1e5c2e7c8c0f Mon Sep 17 00:00:00 2001 From: Dwight Guth Date: Thu, 28 Sep 2023 14:30:55 -0500 Subject: [PATCH] use multi-ary and/or in ModuleToKore --- .../main/java/org/kframework/backend/kore/ModuleToKORE.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/src/main/java/org/kframework/backend/kore/ModuleToKORE.java b/kernel/src/main/java/org/kframework/backend/kore/ModuleToKORE.java index 10fa815fecb..a00ac5b32a8 100644 --- a/kernel/src/main/java/org/kframework/backend/kore/ModuleToKORE.java +++ b/kernel/src/main/java/org/kframework/backend/kore/ModuleToKORE.java @@ -713,7 +713,7 @@ private void genNoJunkAxiom(Sort sort, StringBuilder sb) { sbTemp.append(" axiom{} "); boolean hasToken = false; int numTerms = 0; - sbTemp.append("\\right-assoc{}(\\or{"); + sbTemp.append("\\or{"); convert(sort, sbTemp); sbTemp.append("} ("); for (Production prod : iterable(mutable(module.productionsForSort()).getOrDefault(sort.head(), Set()).toSeq().sorted(Production.ord()))) { @@ -776,7 +776,7 @@ private void genNoJunkAxiom(Sort sort, StringBuilder sb) { } sbTemp.append("\\bottom{"); convert(sort, sbTemp); - sbTemp.append("}())) [constructor{}()] // no junk"); + sbTemp.append("}()) [constructor{}()] // no junk"); if (hasToken && !METAVAR) { sbTemp.append(" (TODO: fix bug with \\dv)"); }