Skip to content

Commit

Permalink
Fix non-conforming writeq('/*'). #6
Browse files Browse the repository at this point in the history
  • Loading branch information
ugochirico committed Aug 24, 2021
1 parent c0262d3 commit b4716d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/com/ugos/jiprolog/engine/PrettyPrinter.java
Expand Up @@ -119,6 +119,12 @@ private static final void printAtomString(final String strAtom, final OperatorMa
return;
}

if(strAtom.equals("/*"))
{
sb.append("'/*'");
return;
}

StringBuilder sbAtom = new StringBuilder();

boolean bQuoted = false;
Expand Down

0 comments on commit b4716d3

Please sign in to comment.