1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-22 15:32:47 +02:00

eeshow/kicad/sexpr.c (sexpr_parse): properly end quoted strings

This commit is contained in:
Werner Almesberger 2016-08-22 04:39:25 -03:00
parent 6c4eae22e1
commit 5cfbf666f4

View File

@ -181,7 +181,7 @@ bool sexpr_parse(struct sexpr_ctx *ctx, const char *s)
break;
case '"':
ctx->state = idle;
add_string(ctx, s);
end_string(ctx, s);
break;
case '\\':
ctx->state = escape;