diff --git a/spec.emu b/spec.emu
index 1692fb8..2b31aae 100644
--- a/spec.emu
+++ b/spec.emu
@@ -53,9 +53,29 @@ render(dropdown);
Syntax
PrimaryExpression :
- JSXElement
- JSXFragment
+ JSXElementOrFragment `<`
+ JSXElementOrFragment
+
+
+ Static Semantics: Early Errors
+
+ PrimaryExpression :: JSXElementOrFragment `<`
+
+
+ - It is a SyntaxError if any source text is matched by this production.
+
+
+ This Early Error prevents users from accidentally writing two adjacent JSX elements without wrapping them in a fragment:
+
+// Invalid
+var elts = <a></a><b></b>
+
+// Valid
+var elts = <><a></a><b></b></>
+
+
+
@@ -63,6 +83,10 @@ render(dropdown);
Syntax
+ JSXElementOrFragment ::
+ JSXElement
+ JSXFragment
+
JSXElement :
JSXSelfClosingElement
JSXOpeningElement JSXChildren? JSXClosingElement