summaryrefslogtreecommitdiff
path: root/chapter07/docs
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/docs')
-rw-r--r--chapter07/docs/07-grammar.md4
-rw-r--r--chapter07/docs/07-graph1.gv2
-rw-r--r--chapter07/docs/07-graph2.gv2
3 files changed, 2 insertions, 6 deletions
diff --git a/chapter07/docs/07-grammar.md b/chapter07/docs/07-grammar.md
index 29a730b6..21c5ad0a 100644
--- a/chapter07/docs/07-grammar.md
+++ b/chapter07/docs/07-grammar.md
@@ -14,7 +14,6 @@ statement
| expressionStatement
| ifStatement
| whileStatement
- | metaStatement
;
whileStatement
@@ -25,9 +24,6 @@ ifStatement
: 'if' '(' expression ')' statement ('else' statement)?
;
-metaStatement
- : '#showGraph' ';'
- ;
expressionStatement
: IDENTIFIER '=' expression ';'
diff --git a/chapter07/docs/07-graph1.gv b/chapter07/docs/07-graph1.gv
index ba806a28..5957a931 100644
--- a/chapter07/docs/07-graph1.gv
+++ b/chapter07/docs/07-graph1.gv
@@ -2,7 +2,7 @@ digraph chapter07 {
/*
while(arg < 10) {
arg = arg + 1;
- #showGraph;
+
}
return arg;
diff --git a/chapter07/docs/07-graph2.gv b/chapter07/docs/07-graph2.gv
index f4cfcb45..4ff5ff35 100644
--- a/chapter07/docs/07-graph2.gv
+++ b/chapter07/docs/07-graph2.gv
@@ -2,7 +2,7 @@ digraph chapter07 {
/*
while(arg < 10) {
arg = arg + 1;
- #showGraph;
+
}
return arg;