diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-05-01 21:16:11 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-05-01 21:16:11 +0100 |
commit | 19d96b65e1a840407a7280ab1f99d48d62932620 (patch) | |
tree | 6588cc708367d6be3766030426af0b00aec8fdb6 /src/kv.c | |
parent | b5f7fcf9572651672f5ed6ff198ac83c947668a8 (diff) |
Fix slashes being skipped in unquoted KV tokens
Diffstat (limited to 'src/kv.c')
-rw-r--r-- | src/kv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -143,7 +143,7 @@ STATE(ident_slash): switch (c = READ()) { HANDLE_EOF(); case '/': CB(KV_IDENT); SKIP_COMMENT(sep); - default: GOTO(ident); + default: OUT('/'); GOTO(ident); } STATE(identq): @@ -228,7 +228,7 @@ STATE(val_slash): switch (c = READ()) { HANDLE_EOF(); case '/': CB(KV_VAL); SKIP_COMMENT(afterval); - default: GOTO(val); + default: OUT('/'); GOTO(val); } STATE(valq): |