avoid using the wildcard constant

This commit is contained in:
krangelov
2021-10-12 19:07:21 +02:00
parent a2e7d20b7a
commit 2a5434df96
3 changed files with 21 additions and 15 deletions

View File

@@ -382,7 +382,7 @@ PgfLiteral PgfPrinter::lstr(PgfText *v)
void PgfPrinter::hypo(PgfTypeHypo *hypo, int prio)
{
if (textcmp(hypo->cid, &wildcard) == 0) {
if (hypo->cid->size == 1 && strcmp(hypo->cid->text, "_") == 0) {
this->prio = prio;
m->match_type(this, hypo->type);
} else {