summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-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;