Re: [heycam/webidl] Define Web IDL Modules (#675)

saschanaz commented on this pull request.



> +            1.  [=list/Append=] the [=attribute=] defined by |s| to |members|.
+    1.  Return |members|.
+</div>
+
+<div data-fill-with="grammar-Partial"></div>
+
+<div data-fill-with="grammar-PartialDefinition"></div>
+
+<pre class="grammar" id="prod-Module">
+    Module :
+        "module" identifier "{" ModuleMembers "}" ";"
+</pre>
+
+<pre class="grammar" id="prod-PartialModule">
+    PartialModule :
+        "module" identifier "{" ModuleMembers "}" ";"

I think the following two sentences are ambiguous become the grammars are same:

* A module declaration is a definition matching the Module nonterminal symbol.
* A partial module declaration is a definition matching the PartialModule nonterminal symbol.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/675#discussion_r276061237

Received on Wednesday, 17 April 2019 02:43:37 UTC