1
0
mirror of https://github.com/benhoyt/inih.git synced 2025-02-05 07:08:23 +08:00

4 Commits

Author SHA1 Message Date
Ben Hoyt
bd798c5377
Make inline comments work on subsequent lines of multiline values (#140)
This is a bug fix that makes inih's behaviour here work as per Python's
ConfigParser, which is what inih behaviour is (loosely) based on.

Thanks @silly2020 for the report. See
https://github.com/benhoyt/inih/issues/120#issuecomment-1181341960
2022-07-12 21:20:05 +12:00
Anatol Belski
82fdde3fcf Allow handler to be called on a key without '=' or ':' (#87) 2019-10-05 10:27:07 -04:00
ksdhans
be59185856 Add option to call handler when a new section is encountered (#79)
Some programs have ini files with multiple sections that have the same name, which would make it very useful to know when a new section is encountered.

This patch adds this ability as an option that's enabled by setting INI_CALL_HANDLER_ON_NEW_SECTION to 1
2019-04-08 08:44:21 -04:00
Ben Hoyt
d709bdac5b Add support for realloc for very long lines (fixes #61) 2017-12-14 16:01:30 -05:00