mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-29 18:03:18 -06:00
bugfix in the handling of BIND in the C runtime
This commit is contained in:
1 parent
a2c25e88d4
commit
b70cea2673
1 file changed
+1
-1
@@ -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