mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-08-19 18:56:21 -06:00
fix lookup morpho after changes related to the parser
This commit is contained in:
@@ -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