summaryrefslogtreecommitdiffstats
path: root/Tools/compiler
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-08-14 18:57:43 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-08-14 18:57:43 (GMT)
commit34aeeffb62dbe8192cb520e189bb6c98572986da (patch)
tree6e91199854edd3b052b2c904076b15f5d9f9aa94 /Tools/compiler
parent9b3be7f5d9084dce06d6dec3657e649f9769ecc8 (diff)
downloadcpython-34aeeffb62dbe8192cb520e189bb6c98572986da.zip
cpython-34aeeffb62dbe8192cb520e189bb6c98572986da.tar.gz
cpython-34aeeffb62dbe8192cb520e189bb6c98572986da.tar.bz2
Add Yield node
Diffstat (limited to 'Tools/compiler')
-rw-r--r--Tools/compiler/ast.txt1
-rw-r--r--Tools/compiler/compiler/ast.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/Tools/compiler/ast.txt b/Tools/compiler/ast.txt
index 1ca13f2..21203d2 100644
--- a/Tools/compiler/ast.txt
+++ b/Tools/compiler/ast.txt
@@ -16,6 +16,7 @@ Raise: expr1, expr2, expr3
TryFinally: body, final
TryExcept: body, handlers, else_
Return: value
+Yield: value
Const: value
Print: nodes, dest
Printnl: nodes, dest
diff --git a/Tools/compiler/compiler/ast.txt b/Tools/compiler/compiler/ast.txt
index 1ca13f2..21203d2 100644
--- a/Tools/compiler/compiler/ast.txt
+++ b/Tools/compiler/compiler/ast.txt
@@ -16,6 +16,7 @@ Raise: expr1, expr2, expr3
TryFinally: body, final
TryExcept: body, handlers, else_
Return: value
+Yield: value
Const: value
Print: nodes, dest
Printnl: nodes, dest