This commit is contained in:
David Beazley 2018-11-18 07:21:52 -06:00
commit 52c993e00c

View File

@ -1353,7 +1353,7 @@ like this::
def expr(self, p): def expr(self, p):
return ('number-expression', p.NUMBER) return ('number-expression', p.NUMBER)
Another approach is to create a set of data structure for different Another approach is to create a set of data structures for different
kinds of abstract syntax tree nodes and create different node types kinds of abstract syntax tree nodes and create different node types
in each rule:: in each rule::