forked from GitHub/gf-core
bugfix in the handling of BIND in the C runtime
This commit is contained in:
@@ -1268,7 +1268,7 @@ pgf_new_parse_state(PgfParsing* ps, size_t start_offset, BIND_TYPE bind_type)
|
|||||||
if ((*pstate)->start_offset == start_offset &&
|
if ((*pstate)->start_offset == start_offset &&
|
||||||
(*pstate)->end_offset == start_offset &&
|
(*pstate)->end_offset == start_offset &&
|
||||||
!(*pstate)->needs_bind)
|
!(*pstate)->needs_bind)
|
||||||
return ps->before;
|
return *pstate;
|
||||||
} else {
|
} else {
|
||||||
if ((*pstate)->start_offset == start_offset)
|
if ((*pstate)->start_offset == start_offset)
|
||||||
return *pstate;
|
return *pstate;
|
||||||
|
|||||||
Reference in New Issue
Block a user