gbranden pushed a commit to branch master
in repository groff.
commit c63baf5c5f26d9c53ff58746437238b80c556c80
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Apr 1 14:16:47 2020 +1100
src/roff/troff/input.cpp: Rewind copyright year.
I reverted my recent changes to this file because Ingo hates them and
emailed me to tell me so.
For fun, throw the following at nroff:
.pl 1v
\s
\sA
\s+
\s-
\s++
\s--
\s(+
\s(-
\s(++
\s(--
\s1
\s1x
\s[+
\s[-
\s[++]
\s[--]
\s
Every one of these is malformed but the current code (in its
now-reverted state) misses a few, and sometimes characters get eaten
(instead of sent to output) because of the lack of error-checking in
read_size(). Ingo was right that my fixes were incomplete (IMO
read_size() needs a refactor), but my changes caught more problems (with
a higher volume of diagnostics, admittedly).
I'll work on something else.
---
src/roff/troff/input.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index bc34031..fb990bd 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989-2020 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2019 Free Software Foundation, Inc.
Written by James Clark ([email protected])
This file is part of groff.
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit