display({A}) should not display as an operator.

This commit is contained in:
Vitor Santos Costa 2009-04-21 18:04:36 -05:00
parent 9d07b51937
commit e204a8b7a3

View File

@ -792,7 +792,7 @@ writeTerm(Term t, int p, int depth, int rinfixarg, struct write_globs *wglb)
wrputc(')', wglb->writewch);
lastw = separator;
}
} else if (functor == FunctorBraces) {
} else if (!wglb->Ignore_ops && functor == FunctorBraces) {
wrputc('{', wglb->writewch);
lastw = separator;
writeTerm(ArgOfTermCell(1, t), 1200, depth + 1, FALSE, wglb);