diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-11-30 13:13:49 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-11-30 13:13:49 -0800 |
commit | 2652cbee57edee453193d0bb58bba5d716cabe7b (patch) | |
tree | 3dc732f9ec493ae6842aa41c0df843049f1321d4 | |
parent | 07e8c324a87c42ec641d982d7d36142c2ae4ac00 (diff) | |
download | plan9front-2652cbee57edee453193d0bb58bba5d716cabe7b.tar.xz |
proof: don't confuse ""(1) (thanks Stuart Morrow)
"" looks for patterns in the form 'prompt;' or 'prompt%',
and gets confused when proof emits 'illegal;'. This change
replaces the ';' with a ':', which both matches other
conventional error outputs and prevents "" from getting
confused.
-rw-r--r-- | sys/src/cmd/proof/htroff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/proof/htroff.c b/sys/src/cmd/proof/htroff.c index ce7577f51..61db7e729 100644 --- a/sys/src/cmd/proof/htroff.c +++ b/sys/src/cmd/proof/htroff.c @@ -550,7 +550,7 @@ botpage(int np) /* called at bottom of page np-1 == top of page np */ continue; } - fprint(2, "illegal; try q, 17, +2, -1, p, m.7, /2, x1, y-.5 or return\n"); + fprint(2, "illegal: try q, 17, +2, -1, p, m.7, /2, x1, y-.5 or return\n"); } return 0; } |