summaryrefslogtreecommitdiffhomepage
path: root/src/kv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kv.c')
-rw-r--r--src/kv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kv.c b/src/kv.c
index 3ad62be..7720d46 100644
--- a/src/kv.c
+++ b/src/kv.c
@@ -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):