summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/parser.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-04-22 13:53:18 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-04-22 13:53:18 +0000
commitb70cea2673e86889ce7c8da00303867ee12a05fc (patch)
treeef4da196d5256b2da8325ebdc0a862842b7280a3 /src/runtime/c/pgf/parser.c
parenta2c25e88d425fd6d0779fb8b1ccf93379d6fe536 (diff)
bugfix in the handling of BIND in the C runtime
Diffstat (limited to 'src/runtime/c/pgf/parser.c')
-rw-r--r--src/runtime/c/pgf/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c
index f805ca137..99c0a3432 100644
--- a/src/runtime/c/pgf/parser.c
+++ b/src/runtime/c/pgf/parser.c
@@ -1268,7 +1268,7 @@ pgf_new_parse_state(PgfParsing* ps, size_t start_offset, BIND_TYPE bind_type)
if ((*pstate)->start_offset == start_offset &&
(*pstate)->end_offset == start_offset &&
!(*pstate)->needs_bind)
- return ps->before;
+ return *pstate;
} else {
if ((*pstate)->start_offset == start_offset)
return *pstate;