summaryrefslogtreecommitdiff
path: root/chapter20/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'chapter20/src/main')
-rw-r--r--chapter20/src/main/java/com/seaofnodes/simple/print/JSViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter20/src/main/java/com/seaofnodes/simple/print/JSViewer.java b/chapter20/src/main/java/com/seaofnodes/simple/print/JSViewer.java
index 76c64c71..a2b674c9 100644
--- a/chapter20/src/main/java/com/seaofnodes/simple/print/JSViewer.java
+++ b/chapter20/src/main/java/com/seaofnodes/simple/print/JSViewer.java
@@ -72,7 +72,7 @@ public class JSViewer implements AutoCloseable {
public static void show() { if( SERVER!=null && SHOW ) _show(); }
private static void _show() {
// Skip util we at least get the Parse object made
- if( CODE._phase==null || CODE._phase.ordinal() < CodeGen.Phase.Parse.ordinal() )
+ if( CODE._phase == null )
return;
boolean midParse = CODE._phase == CodeGen.Phase.Parse;
Stack<ScopeNode> xScopes = midParse ? CODE.P._xScopes : null;