mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
cex: don't assume the terminal supports "•"
Use of print_unicode_char suggested by Bruno Haible. https://lists.gnu.org/r/bug-gettext/2020-06/msg00012.html * src/gram.h (print_dot_fallback, print_dot): New. * src/gram.c, src/derivation.c: Use it. * tests/counterexample.at, tests/report.at: Adjust the test suite. * .travis.yml, README-hacking.md: Adjust.
This commit is contained in:
@@ -167,7 +167,7 @@ derivation_print_impl (const derivation *deriv, FILE *f,
|
||||
else if (deriv == &d_dot)
|
||||
{
|
||||
begin_use_class ("cex-dot", f);
|
||||
fputs ("•", f);
|
||||
print_dot (f);
|
||||
end_use_class ("cex-dot", f);
|
||||
}
|
||||
else // leaf.
|
||||
|
||||
Reference in New Issue
Block a user