mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 18:52:50 -06:00
avoid using the wildcard constant
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user