Skip to content

Commit

Permalink
use multi-ary and/or in ModuleToKore
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwight Guth committed Oct 12, 2023
1 parent 7010152 commit a5978ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()))) {
Expand Down Expand Up @@ -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)");
}
Expand Down

0 comments on commit a5978ff

Please sign in to comment.