Skip to content

Commit

Permalink
in debug mode print some productions that I missed before
Browse files Browse the repository at this point in the history
  • Loading branch information
krangelov committed Jan 10, 2024
1 parent ea9cd82 commit 9fd68cd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/runtime/c/pgf/parser.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,11 @@ PgfParser::Choice *PgfParser::intersect_choice(Choice *choice1, Choice *choice2,
return NULL;
}
prod->args[i] = arg;
}
}

#ifdef DEBUG_PARSER
print_prod(choice, prod);
#endif
}
}
}
Expand Down Expand Up @@ -1599,6 +1603,9 @@ PgfParser::Choice *PgfParser::retrieve_choice(ref<PgfLRReduceArg> arg)
prod->args[j] = retrieve_choice(child);
}
choice->prods.push_back(prod);
#ifdef DEBUG_PARSER
print_prod(choice, prod);
#endif
}
}

Expand Down

0 comments on commit 9fd68cd

Please sign in to comment.