From b70cea2673e86889ce7c8da00303867ee12a05fc Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 22 Apr 2014 13:53:18 +0000 Subject: [PATCH] bugfix in the handling of BIND in the C runtime --- src/runtime/c/pgf/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;