Skip to content

Commit

Permalink
Fix missing lookahead restriction (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton authored Apr 10, 2024
1 parent ddd0795 commit fd4da06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -4047,7 +4047,7 @@ contributors: Ron Buckton, Ecma International
`export` ExportFromClause FromClause `;`
`export` NamedExports `;`
`export` VariableStatement[~Yield, +Await]
`export` <ins>[lookahead != `using`]</ins> Declaration[~Yield, +Await]
`export` <ins>[lookahead &notin; { `using`, `await` }]</ins> Declaration[~Yield, +Await]
`export` `default` HoistableDeclaration[~Yield, +Await, +Default]
`export` `default` ClassDeclaration[~Yield, +Await, +Default]
`export` `default` [lookahead &notin; {`function`, `async` [no |LineTerminator| here] `function`, `class`}] AssignmentExpression[+In, ~Yield, +Await] `;`
Expand Down

0 comments on commit fd4da06

Please sign in to comment.