Bart van Strien
149af030cd
Make parse return a list of parse errors
...
Which basically just means unmatched lines.
There are no descriptive errors, at least for now, but at least this
gives you the option to display warnings or errors.
2021-07-26 14:04:51 +02:00
Bart van Strien
7051f35bfb
Add tests for error handling
...
That all fail so far.
2021-07-26 14:04:51 +02:00
Bart van Strien
441ce4877e
Add tests
2021-07-26 13:40:00 +02:00
Bart van Strien
f0b41a8a92
Move files and update rockspec
2016-07-24 10:59:27 +02:00
Bart van Strien
3bdae9b28b
Add rockspec for inifile
2016-07-24 10:42:06 +02:00
Bart van Strien
1f129c9718
Update inifile to return a local table with meta-information, dub it version 1.0
2016-07-24 10:39:45 +02:00
Bart van Strien
d46c17136a
Allow underscores in ini keys
2016-07-24 10:39:37 +02:00
Bart van Strien
649d4da453
Fix adding and removing of keys in inifile, fix typo
2016-07-24 10:39:25 +02:00
Bart van Strien
8bdf26e359
Add comment preservation (section-accurate comments) and order preservation (both of sections and keys), meaning that if the comments are at the top of sections or at the top of the file, and the output table's metatable isn't modified, the ini file written out should exactly match the one read in, ignoring whitespace
2016-07-24 10:39:13 +02:00
Bart van Strien
8744d73161
Correct handling of 'false' booleans
2016-07-24 10:39:03 +02:00
Bart van Strien
e886b00dda
Add multiple-backend support for inifile, adding a memory backend
2016-07-24 10:38:51 +02:00
Bart van Strien
23453a30ff
Add Simplified BSD license
2016-07-24 10:38:38 +02:00
Bart van Strien
757d8849c6
Add inifile
2016-07-24 10:38:15 +02:00