1
0
mirror of https://github.com/benhoyt/inih.git synced 2025-01-28 22:52:54 +08:00

6 Commits

Author SHA1 Message Date
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
18a67c5163 Fix \r\n EOLs in baseline_stop_on_first_error.txt 2016-10-11 09:33:33 -04:00
Ben Hoyt
dbf771afeb Issue #55: handle empty value immediately followed by comment 2016-10-11 09:31:22 -04:00
Ben Hoyt
e6735fff64 Fix issue noted by @jgroffen where if both : and = were used on a line, = would take precedence ( https://github.com/benhoyt/inih/pull/44) 2016-01-02 11:29:40 -05:00
benhoyt@gmail.com
f2914d460c Add INI_STOP_ON_FIRST_ERROR per Robin Getz (defaults to off).
Add unit test baseline with this option on.
See also f4b25de039
2013-12-19 19:38:21 +00:00