mirror of https://github.com/kdl-org/kdl.git
Script updating gh-pages from 11615b2. [ci skip]
This commit is contained in:
parent
a2b384ee18
commit
aae98ccc66
|
|
@ -2380,10 +2380,16 @@ individual implementations to determine how to represent KDL numbers.<a href="#s
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p id="section-3.14-4">Note that, similar to JSON and some other languages,
|
<p id="section-3.14-4">In all cases where the above says that digits "may be separated by <code>_</code>",
|
||||||
|
this means that between any two digits, or after the digits, any number of
|
||||||
|
consecutive <code>_</code> characters can appear. Underscores are not allowed <em>before</em> the digits.
|
||||||
|
That is, <code>1___2</code> and <code>12____</code> are valid (and both equivalent to just <code>12</code>), but
|
||||||
|
<code>_12</code> is <em>not</em> a valid number (it will instead parse as an identifier string),
|
||||||
|
nor is <code>0x_1a</code> (it will simply be invalid).<a href="#section-3.14-4" class="pilcrow">¶</a></p>
|
||||||
|
<p id="section-3.14-5">Note that, similar to JSON and some other languages,
|
||||||
numbers without an integer digit (such as <code>.1</code>) are illegal.
|
numbers without an integer digit (such as <code>.1</code>) are illegal.
|
||||||
They must be written with at least one integer digit, like <code>0.1</code>.
|
They must be written with at least one integer digit, like <code>0.1</code>.
|
||||||
(These patterns are also disallowed from Identifier Strings (<a href="#identifier-string" class="auto internal xref">Section 3.10</a>), to avoid confusion.)<a href="#section-3.14-4" class="pilcrow">¶</a></p>
|
(These patterns are also disallowed from Identifier Strings (<a href="#identifier-string" class="auto internal xref">Section 3.10</a>), to avoid confusion.)<a href="#section-3.14-5" class="pilcrow">¶</a></p>
|
||||||
<div id="keyword-numbers">
|
<div id="keyword-numbers">
|
||||||
<section id="section-3.14.1">
|
<section id="section-3.14.1">
|
||||||
<h4 id="name-keyword-numbers">
|
<h4 id="name-keyword-numbers">
|
||||||
|
|
|
||||||
|
|
@ -869,6 +869,14 @@ Table of Contents
|
||||||
- They may optionally be followed by E or e, an optional - or +,
|
- They may optionally be followed by E or e, an optional - or +,
|
||||||
and more digits, to represent an exponent value.
|
and more digits, to represent an exponent value.
|
||||||
|
|
||||||
|
In all cases where the above says that digits "may be separated by
|
||||||
|
_", this means that between any two digits, or after the digits, any
|
||||||
|
number of consecutive _ characters can appear. Underscores are not
|
||||||
|
allowed _before_ the digits. That is, 1___2 and 12____ are valid
|
||||||
|
(and both equivalent to just 12), but _12 is _not_ a valid number (it
|
||||||
|
will instead parse as an identifier string), nor is 0x_1a (it will
|
||||||
|
simply be invalid).
|
||||||
|
|
||||||
Note that, similar to JSON and some other languages, numbers without
|
Note that, similar to JSON and some other languages, numbers without
|
||||||
an integer digit (such as .1) are illegal. They must be written with
|
an integer digit (such as .1) are illegal. They must be written with
|
||||||
at least one integer digit, like 0.1. (These patterns are also
|
at least one integer digit, like 0.1. (These patterns are also
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="whitespace-only/draft-marchan-kdl2.html" class="html draft-marchan-kdl2" title="The KDL Document Language (HTML)">KDL</a></td>
|
<td><a href="whitespace-only/draft-marchan-kdl2.html" class="html draft-marchan-kdl2" title="The KDL Document Language (HTML)">KDL</a></td>
|
||||||
<td><a href="whitespace-only/draft-marchan-kdl2.txt" class="txt draft-marchan-kdl2" title="The KDL Document Language (Text)">plain text</a></td>
|
<td><a href="whitespace-only/draft-marchan-kdl2.txt" class="txt draft-marchan-kdl2" title="The KDL Document Language (Text)">plain text</a></td>
|
||||||
<td>same as main</td>
|
<td><a href="https://author-tools.ietf.org/api/iddiff?url_1=https://kdl-org.github.io/kdl/draft-marchan-kdl2.txt&url_2=https://kdl-org.github.io/kdl/whitespace-only/draft-marchan-kdl2.txt" class="diff draft-marchan-kdl2">diff with main</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue