better ini examples

This commit is contained in:
2018-03-03 16:32:30 +01:00
parent 0390122728
commit a038484869
+4 -2
View File
@@ -18,8 +18,10 @@ When compiled for a bare metal Cortex-M0, **the whole parser fits in 336 bytes**
Any whitespace, except inside a value, is discarded.
- **Sections** - `[section.name]`
- **Key-value pairs** - `key.foo-bar_baz123 = value lorem ipsum 123`
- **Sections** - `[section]`
- Supports any characters except whitespace and `]`
- **Key-value pairs** - `key = value`
- Key supports any characters except whitespace and `=`
- Value can contain whitespace, leading and trailing whitespace is removed.
- Ends with either `\r` or `\n`
- **Comment** `# comment ...`