summaryrefslogtreecommitdiff
path: root/chapter04/README.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-09-22 11:25:05 -0700
committerCliff Click <cliffc@acm.org>2026-09-22 11:25:05 -0700
commit29fb671e69f90ad3b04c6fa8d746caf857f89e77 (patch)
tree2f39d082f8a6de6a2b60b66406f8c9f0190d25c2 /chapter04/README.md
parent1d961838cff168a101069d08a8ab6594f49f0911 (diff)
downloadSimple-29fb671e69f90ad3b04c6fa8d746caf857f89e77.tar.gz
Simple-29fb671e69f90ad3b04c6fa8d746caf857f89e77.zip
Add shared graph viewer to all chapters
Diffstat (limited to 'chapter04/README.md')
-rw-r--r--chapter04/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter04/README.md b/chapter04/README.md
index 272d0b8d..2c7f7e9c 100644
--- a/chapter04/README.md
+++ b/chapter04/README.md
@@ -108,7 +108,7 @@ tests can (and do) pass in other integer values by calling `new Parser` with
an argument:
```java
-Parser parser = new Parser("return arg; #showGraph;", TypeInteger.constant(2));
+Parser parser = new Parser("return arg; ", TypeInteger.constant(2));
```
The graph:
@@ -151,7 +151,7 @@ public final Node peephole( ) {
If you don't pass an argument you get `TypeInteger.BOT`
```java
- Parser parser = new Parser("return arg; #showGraph;");
+ Parser parser = new Parser("return arg; ");
...
public Parser(String source) {