Skip to content

Commit

Permalink
Make no junk right associative
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwight Guth authored Aug 24, 2023
1 parent ab225b2 commit 0d0e991
Showing 1 changed file with 1 addition and 1 deletion.
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("\\left-assoc{}(\\or{");
sbTemp.append("\\right-assoc{}(\\or{");
convert(sort, sbTemp);
sbTemp.append("} (");
for (Production prod : iterable(mutable(module.productionsForSort()).getOrDefault(sort.head(), Set()).toSeq().sorted(Production.ord()))) {
Expand Down

0 comments on commit 0d0e991

Please sign in to comment.