first whitespace of a line is now skipped when processing arguments

pull/14/head
Sara 2023-07-16 13:46:53 +02:00
parent 19401f1f47
commit b387dee9c6
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ void _parse_value(FILE* file, char* out, int* _argc, char** argv) {
switch(c) {
case '#':
freadto(file, '\n');
// fall through
case '\n':
ungetc(nextnw(file), file);
break;
case ';':
*out = '\0';