mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 23:32:51 -06:00
store the index with every production
This commit is contained in:
@@ -274,6 +274,7 @@ struct PgfLRReduceArg;
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfLRProduction {
|
||||
ref<PgfConcrLin> lin;
|
||||
size_t index;
|
||||
ref<Vector<ref<PgfLRReduceArg>>> args;
|
||||
};
|
||||
|
||||
@@ -299,8 +300,8 @@ struct PGF_INTERNAL_DECL PgfLRReduceArg {
|
||||
|
||||
struct PGF_INTERNAL_DECL PgfLRReduce {
|
||||
object lin_obj;
|
||||
size_t seq_idx;
|
||||
size_t depth;
|
||||
size_t r;
|
||||
ref<Vector<object>> args;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user