mirror of https://github.com/kdl-org/kdl.git
remove equals section
This commit is contained in:
parent
1e40ac66a4
commit
4881523a9c
|
|
@ -59,10 +59,6 @@
|
|||
whitespace matching the whitespace prefix of the closing line. Multiline
|
||||
strings and raw strings now must have a newline immediately following their
|
||||
opening `"`, and a final newline plus whitespace preceding the closing `"`.
|
||||
* SMALL EQUALS SIGN (`U+FE66`), FULLWIDTH EQUALS SIGN (`U+FF1D`), and HEAVY
|
||||
EQUALS SIGN (`U+1F7F0`) are now treated the same as `=` and can be used for
|
||||
properties (e.g. `お名前=☜(゚ヮ゚☜)`). They are also no longer valid in bare
|
||||
identifiers.
|
||||
* `.1`, `+.1` etc are no longer valid identifiers, to prevent confusion and
|
||||
conflicts with numbers.
|
||||
* Multi-line strings' literal Newline sequences are now normalized to single
|
||||
|
|
|
|||
12
SPEC.md
12
SPEC.md
|
|
@ -112,8 +112,8 @@ my-node 1 2 \ // comments are ok after \
|
|||
### Property
|
||||
|
||||
A Property is a key/value pair attached to a [Node](#node). A Property is
|
||||
composed of a [String](#string), followed immediately by an [equals
|
||||
sign](#equals-sign), and then a [Value](#value).
|
||||
composed of a [String](#string), followed immediately by an equals sign (`=`, `U+003D`),
|
||||
and then a [Value](#value).
|
||||
|
||||
Properties should be interpreted left-to-right, with rightmost properties with
|
||||
identical names overriding earlier properties. That is:
|
||||
|
|
@ -131,14 +131,6 @@ still be spec-compliant.
|
|||
Properties _MAY_ be prefixed with `/-` to "comment out" the entire token and
|
||||
make it act as plain whitespace, even if it spreads across multiple lines.
|
||||
|
||||
#### Equals Sign
|
||||
|
||||
Only the following character may be used as equals signs in properties:
|
||||
|
||||
| Name | Character | Code Point |
|
||||
|----|-----|----|
|
||||
| EQUALS SIGN | `=` | `U+003D` |
|
||||
|
||||
### Argument
|
||||
|
||||
An Argument is a bare [Value](#value) attached to a [Node](#node), with no
|
||||
|
|
|
|||
Loading…
Reference in New Issue