1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-25 21:11:53 +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; 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;