mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-22 20:14:04 +02:00
eeshow/kicad/sexpr.c (sexpr_parse): properly end quoted strings
This commit is contained in:
parent
6c4eae22e1
commit
5cfbf666f4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user