Skip to content

Commit 0bfa031

Browse files
committed
Make Go AST
1 parent 77d414e commit 0bfa031

File tree

2 files changed

+148
-218
lines changed

2 files changed

+148
-218
lines changed

parser/Python.asdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module Python
6464
-- need sequences for compare to distinguish between
6565
-- x < 4 < 3 and (x < 4) < 3
6666
| Compare(expr left, cmpop* ops, expr* comparators)
67-
| Call(expr func, expr* args, keyword* keywords,
67+
| Call(expr function, expr* args, keyword* keywords,
6868
expr? starargs, expr? kwargs)
6969
| Num(object n) -- a number as a PyObject.
7070
| Str(string s) -- need to specify raw, unicode, etc?
@@ -100,7 +100,7 @@ module Python
100100

101101
comprehension = (expr target, expr iter, expr* ifs)
102102

103-
excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)
103+
excepthandler = ExceptHandler(expr? exprtype, identifier? name, stmt* body)
104104
attributes (int lineno, int col_offset)
105105

106106
arguments = (arg* args, arg? vararg, arg* kwonlyargs, expr* kw_defaults,

0 commit comments

Comments
 (0)