Skip to content

Commit

Permalink
clearer diagnostic prints
Browse files Browse the repository at this point in the history
  • Loading branch information
petercorke committed Nov 11, 2018
1 parent 268f499 commit da7974c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/DHFactor.java
Expand Up @@ -246,7 +246,7 @@ public static ElementList parseString(String buffer) {
ElementList l = new ElementList();


System.out.println(buffer);
System.out.println("INIT: " + buffer);

// each token is [R|T][x|y|z](arg)
Pattern pattern = Pattern.compile("([RT][xyz]\\([^)]+\\))");
Expand All @@ -255,7 +255,7 @@ public static ElementList parseString(String buffer) {
while (tokens.find())
l.add( new Element(tokens.group(1)) );

System.out.println(l);
System.out.println("PARSED: " + l);

l.simplify();
System.out.println(l);
Expand Down

0 comments on commit da7974c

Please sign in to comment.