summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/roff/troff/input.cpp2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c6011ca5..8d45cc57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-13 Werner LEMBERG <wl@gnu.org>
+
+ `.class' must not emit empty lines.
+
+ * src/roff/troff/input.cpp (define_class): Add missing `skip_line'
+ calls.
+
2010-12-06 UKAI Fumitoshi <ukai@debian.or.jp>
Colin Watson <cjwatson@debian.org>
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index cdb82fe2..a9df7183 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -6831,9 +6831,11 @@ void define_class()
warning(WARN_SYNTAX,
"empty class definition for `%1'",
nm.contents());
+ skip_line();
return;
}
(void)char_class_dictionary.lookup(nm, ci);
+ skip_line();
}
charinfo *token::get_char(int required)