From fd4da064646c348feff28c186f0405cab4b33078 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Wed, 10 Apr 2024 14:08:21 -0400 Subject: [PATCH] Fix missing lookahead restriction (#222) --- spec.emu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.emu b/spec.emu index d40261f..e98109e 100644 --- a/spec.emu +++ b/spec.emu @@ -4047,7 +4047,7 @@ contributors: Ron Buckton, Ecma International `export` ExportFromClause FromClause `;` `export` NamedExports `;` `export` VariableStatement[~Yield, +Await] - `export` [lookahead != `using`] Declaration[~Yield, +Await] + `export` [lookahead ∉ { `using`, `await` }] Declaration[~Yield, +Await] `export` `default` HoistableDeclaration[~Yield, +Await, +Default] `export` `default` ClassDeclaration[~Yield, +Await, +Default] `export` `default` [lookahead ∉ {`function`, `async` [no |LineTerminator| here] `function`, `class`}] AssignmentExpression[+In, ~Yield, +Await] `;`