diff --git a/src/runtime/c/pgf/parser.cxx b/src/runtime/c/pgf/parser.cxx index 187567e87..09a1a8532 100644 --- a/src/runtime/c/pgf/parser.cxx +++ b/src/runtime/c/pgf/parser.cxx @@ -4,9 +4,9 @@ #include //#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 { diff --git a/src/runtime/c/pgf/reader.cxx b/src/runtime/c/pgf/reader.cxx index 0c82a4d61..f0a8b8366 100644 --- a/src/runtime/c/pgf/reader.cxx +++ b/src/runtime/c/pgf/reader.cxx @@ -753,8 +753,8 @@ ref PgfReader::read_concrete() auto printnames = read_namespace(&PgfReader::read_printname); concrete->printnames = printnames; - PgfLRTableMaker maker(abstract, concrete); - concrete->lrtable = maker.make(); +// PgfLRTableMaker maker(abstract, concrete); +// concrete->lrtable = maker.make(); return concrete; }