Skip to content

Commit

Permalink
ES6 generator: Remove unnecessary global state isGenerator.
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed Jun 3, 2015
1 parent 26cbbe9 commit 1dd0964
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions esprima.js
Original file line number Diff line number Diff line change
Expand Up @@ -5258,8 +5258,7 @@
inIteration: false,
inSwitch: false,
lastCommentStart: -1,
curlyStack: [],
isGenerator: false
curlyStack: []
};

extra = {};
Expand Down Expand Up @@ -5348,8 +5347,7 @@
inIteration: false,
inSwitch: false,
lastCommentStart: -1,
curlyStack: [],
isGenerator: false
curlyStack: []
};
sourceType = 'script';
strict = false;
Expand Down

0 comments on commit 1dd0964

Please sign in to comment.