summaryrefslogtreecommitdiff
path: root/kicad
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 04:39:25 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 04:39:25 -0300
commit01e563c537c8503b86c833d351207396ec6c9fc2 (patch)
tree0dd1468b503a299b0d16f2430fc29750f8a268d8 /kicad
parent1776e011bad42b24905d5515f975bbd78641bff2 (diff)
downloadeeshow-01e563c537c8503b86c833d351207396ec6c9fc2.tar.gz
eeshow-01e563c537c8503b86c833d351207396ec6c9fc2.tar.bz2
eeshow-01e563c537c8503b86c833d351207396ec6c9fc2.zip
eeshow/kicad/sexpr.c (sexpr_parse): properly end quoted strings
Diffstat (limited to 'kicad')
-rw-r--r--kicad/sexpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicad/sexpr.c b/kicad/sexpr.c
index d24aa2a..baf08ed 100644
--- a/kicad/sexpr.c
+++ b/kicad/sexpr.c
@@ -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;