mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-24 18:28:55 -06:00
revert some unintended changes
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
//#define DEBUG_STATE_CREATION
|
//#define DEBUG_STATE_CREATION
|
||||||
#define DEBUG_AUTOMATON
|
//#define DEBUG_AUTOMATON
|
||||||
#define DEBUG_PARSER
|
//#define DEBUG_PARSER
|
||||||
#define DEBUG_GENERATOR
|
//#define DEBUG_GENERATOR
|
||||||
|
|
||||||
struct PgfLRTableMaker::CCat {
|
struct PgfLRTableMaker::CCat {
|
||||||
CCat *parent;
|
CCat *parent;
|
||||||
@@ -689,7 +689,6 @@ void PgfLRTableMaker::symbol(State *state, Fold fold, Item *item, PgfSymbol sym)
|
|||||||
if (fold == PROBE) {
|
if (fold == PROBE) {
|
||||||
item->ccat->productive = true;
|
item->ccat->productive = true;
|
||||||
if (item->sym_idx > 0 || sym_idx_2 < item->seq->syms.len) {
|
if (item->sym_idx > 0 || sym_idx_2 < item->seq->syms.len) {
|
||||||
print_item(item);
|
|
||||||
item->ccat->register_item(item);
|
item->ccat->register_item(item);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -753,8 +753,8 @@ ref<PgfConcr> PgfReader::read_concrete()
|
|||||||
auto printnames = read_namespace<PgfConcrPrintname>(&PgfReader::read_printname);
|
auto printnames = read_namespace<PgfConcrPrintname>(&PgfReader::read_printname);
|
||||||
concrete->printnames = printnames;
|
concrete->printnames = printnames;
|
||||||
|
|
||||||
PgfLRTableMaker maker(abstract, concrete);
|
// PgfLRTableMaker maker(abstract, concrete);
|
||||||
concrete->lrtable = maker.make();
|
// concrete->lrtable = maker.make();
|
||||||
|
|
||||||
return concrete;
|
return concrete;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user