Add read-ini-file procedure

Reads a .ini file into an association list. No [section] parsing yet.
This commit is contained in:
2019-08-14 13:49:56 +03:00
parent 50c9fb2448
commit 78a04430ce
3 changed files with 100 additions and 1 deletions
+2
View File
@@ -25,6 +25,7 @@ o_files="$o_files random.o"
o_files="$o_files socket.o"
o_files="$o_files string.o"
o_files="$o_files table.o"
o_files="$o_files text_ini.o"
o_files="$o_files time_unix.o"
o_files="$o_files utf8.o"
default_cflags="-Wall -O2 -D NDEBUG -D USE_COMPUTED_GOTO -Wextra -std=gnu99 -Wno-strict-aliasing"
@@ -103,6 +104,7 @@ $CC $CFLAGS -c ../c/random.c
$CC $CFLAGS -c ../c/socket.c
$CC $CFLAGS -c ../c/string.c
$CC $CFLAGS -c ../c/table.c
$CC $CFLAGS -c ../c/text_ini.c
$CC $CFLAGS -c ../c/time_unix.c
$CC $CFLAGS -c ../c/utf8.c