Skip to content
Commit 46b05658 authored by Radostin Stoyanov's avatar Radostin Stoyanov Committed by Andrei Vagin
Browse files

config: Refactor configuration file parsing



Split the function parse_config() into smaller parts by introducing
the parse_statement(), and add more descriptive comments to improve
readability. In addition, make sure that the last element of the array
of strings 'configuration' is initialised to NULL, which is necessary
to properly count the number of elements after parsing.

Signed-off-by: default avatarRadostin Stoyanov <rstoyanov1@gmail.com>
Signed-off-by: default avatarAndrei Vagin <avagin@gmail.com>
parent 7d7f663b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment