Skip to content

Commit d948179

Browse files
committed
"statement tree" -> "statement node".
Fix #967.
1 parent 997617e commit d948179

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/statements-and-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ That `IDENTIFIER` clause matches a single identifier token, which is understood
405405
to be the name of the variable being accessed.
406406

407407
These new grammar rules get their corresponding syntax trees. Over in the AST
408-
generator, we add a <span name="var-stmt-ast">new statement</span> tree for a
408+
generator, we add a <span name="var-stmt-ast">new statement</span> node for a
409409
variable declaration.
410410

411411
^code var-stmt-ast (1 before, 1 after)

site/statements-and-state.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ <h3><a href="#variable-syntax" name="variable-syntax"><small>8&#8202;.&#8202;2&#
568568
<p>That <code>IDENTIFIER</code> clause matches a single identifier token, which is understood
569569
to be the name of the variable being accessed.</p>
570570
<p>These new grammar rules get their corresponding syntax trees. Over in the AST
571-
generator, we add a <span name="var-stmt-ast">new statement</span> tree for a
571+
generator, we add a <span name="var-stmt-ast">new statement</span> node for a
572572
variable declaration.</p>
573573
<div class="codehilite"><pre class="insert-before">
574574
&quot;Expression : Expr expression&quot;,

0 commit comments

Comments
 (0)