Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enh(ini) support arrays and much cleaner grammar (#2335)
* enh(ini) support TOML arrays and much cleaner grammar
- Loading branch information
1 parent
9a7f234
commit b661885
Showing
4 changed files
with
77 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<span class="hljs-attr">moo</span>=[<span class="hljs-string">"foo"</span>] | ||
|
||
<span class="hljs-attr">KNOWN_PEERS</span> = [ | ||
<span class="hljs-string">"finland.some-host.com:11625"</span>, | ||
<span class="hljs-string">"germany.some-host.com:11625"</span>, | ||
<span class="hljs-string">"hongkong.some-host.com:11625"</span>, | ||
<span class="hljs-number">32</span>, | ||
<span class="hljs-literal">true</span> | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
moo=["foo"] | ||
|
||
KNOWN_PEERS = [ | ||
"finland.some-host.com:11625", | ||
"germany.some-host.com:11625", | ||
"hongkong.some-host.com:11625", | ||
32, | ||
true | ||
] |