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