revert some unintended changes

This commit is contained in:
Krasimir Angelov
2024-01-05 11:05:11 +01:00
parent b5ed0dd0ea
commit 8e605eac88
2 changed files with 5 additions and 6 deletions

View File

@@ -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 {

View File

@@ -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;
}