Skip to content

Commit

Permalink
rename yield-from
Browse files Browse the repository at this point in the history
  • Loading branch information
ichiriac committed Dec 21, 2016
1 parent 9aba6a6 commit 965de3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/expr.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ module.exports = {

// T_YIELD_FROM expr
case this.tok.T_YIELD_FROM:
return ['yield-from', this.next().read_expr()];
return ['yieldfrom', this.next().read_expr()];

case this.tok.T_FUNCTION:
// @fixme later - removed static lambda function declarations (colides with static keyword usage)
Expand Down

0 comments on commit 965de3b

Please sign in to comment.