mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-28 01:13:18 -06:00
fix lookup morpho after changes related to the parser
This commit is contained in:
1 parent
edd9fcf904
commit
abac98531d
1 file changed
+1
-1
@@ -307,7 +307,7 @@ bool text_item_match(PgfTextSpot *spot, const uint8_t *end,
|
|||||||
bool case_sensitive)
|
bool case_sensitive)
|
||||||
{
|
{
|
||||||
bool bind = false;
|
bool bind = false;
|
||||||
size_t dot = item->dot;
|
size_t dot = item->dot+1;
|
||||||
vector<PgfSymbol> syms = item->rule->syms.as_vector();
|
vector<PgfSymbol> syms = item->rule->syms.as_vector();
|
||||||
if (item->pre_alt > 0) {
|
if (item->pre_alt > 0) {
|
||||||
auto symkp = ref<PgfSymbolKP>::untagged(syms[item->pre_dot]);
|
auto symkp = ref<PgfSymbolKP>::untagged(syms[item->pre_dot]);
|
||||||
|
|||||||
Reference in new issue
Block a user