Skip to content

Commit

Permalink
revert some unintended changes
Browse files Browse the repository at this point in the history
  • Loading branch information
krangelov committed Jan 5, 2024
1 parent b5ed0dd commit 8e605ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/runtime/c/pgf/parser.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/c/pgf/reader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8e605ea

Please sign in to comment.