Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1748,15 +1748,14 @@ The following extended attributes are applicable to constants:

<pre class="grammar" id="prod-Const">
Const :
"const" ConstType identifier "=" ConstValue ";"
"const" PrimitiveType identifier "=" ConstValue ";"
</pre>

<pre class="grammar" id="prod-ConstValue">
ConstValue :
BooleanLiteral
FloatLiteral
integer
"null"
</pre>

<pre class="grammar" id="prod-BooleanLiteral">
Expand All @@ -1773,12 +1772,6 @@ The following extended attributes are applicable to constants:
"NaN"
</pre>

<pre class="grammar" id="prod-ConstType">
ConstType :
PrimitiveType Null
identifier Null
</pre>

<div class="example">

The following [=IDL fragment=]
Expand Down Expand Up @@ -2351,6 +2344,7 @@ The following extended attributes are applicable to operations:
ConstValue
string
"[" "]"
"null"
</pre>

<pre class="grammar" id="prod-Operation">
Expand Down