shapesecurity / shift-parser-js

ECMAScript parser that produces a Shift format AST
http://shift-ast.org/parser.html
Apache License 2.0
249 stars 28 forks source link

yield cannot be followed by void, delete, typeof, ~ #293

Closed bakkot closed 8 years ago

bakkot commented 8 years ago

e.g., this fails to parse:

function* f (){
  yield ~a;
}