mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
eeshow/kicad/sexpr.c (sexpr_parse): properly end quoted strings
This commit is contained in:
@@ -181,7 +181,7 @@ bool sexpr_parse(struct sexpr_ctx *ctx, const char *s)
|
|||||||
break;
|
break;
|
||||||
case '"':
|
case '"':
|
||||||
ctx->state = idle;
|
ctx->state = idle;
|
||||||
add_string(ctx, s);
|
end_string(ctx, s);
|
||||||
break;
|
break;
|
||||||
case '\\':
|
case '\\':
|
||||||
ctx->state = escape;
|
ctx->state = escape;
|
||||||
|
|||||||
Reference in New Issue
Block a user