summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-12 00:47:39 -0400
committerpommicket <pommicket@gmail.com>2025-09-12 00:47:39 -0400
commita835e738761238b891847c8303592b504018f017 (patch)
tree4f63429a0781a507cec101cbd9b617ba43b0ce53 /examples
parentb290660013101d3817245176d2a34726498d08fc (diff)
Parse section headers
Diffstat (limited to 'examples')
-rw-r--r--examples/conf.pom4
-rw-r--r--examples/read_conf.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/conf.pom b/examples/conf.pom
index efff968..1054e41 100644
--- a/examples/conf.pom
+++ b/examples/conf.pom
@@ -1,7 +1,9 @@
-[0oo]
+[0oo.eeee°]
bar = 10
# testing
# here's another comment
+[jibjabjobdsfajkha]
+ win = yes
diff --git a/examples/read_conf.c b/examples/read_conf.c
index b18be3a..091255c 100644
--- a/examples/read_conf.c
+++ b/examples/read_conf.c
@@ -1,4 +1,5 @@
#include <stdlib.h>
+#include <string.h>
#include "pom.h"