Module Name: src
Committed By: joerg
Date: Sat Oct 8 23:40:52 UTC 2016
Modified Files:
src/external/gpl2/groff/dist/src/roff/troff: input.cpp
Log Message:
Revert half of the last commit. Turns out that in some contexts,
BEGIN_QUOTE/END_QUOTE is used intentionally as non-char marker.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl2/groff/dist/src/roff/troff/input.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/groff/dist/src/roff/troff/input.cpp
diff -u src/external/gpl2/groff/dist/src/roff/troff/input.cpp:1.3 src/external/gpl2/groff/dist/src/roff/troff/input.cpp:1.4
--- src/external/gpl2/groff/dist/src/roff/troff/input.cpp:1.3 Sat Oct 8 20:44:59 2016
+++ src/external/gpl2/groff/dist/src/roff/troff/input.cpp Sat Oct 8 23:40:52 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: input.cpp,v 1.3 2016/10/08 20:44:59 joerg Exp $ */
+/* $NetBSD: input.cpp,v 1.4 2016/10/08 23:40:52 joerg Exp $ */
// -*- C++ -*-
/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004, 2005
@@ -941,11 +941,11 @@ static int get_copy(node **nd, int defin
compatible_flag = input_stack::get_compatible_flag();
continue;
}
- if (c == (char)BEGIN_QUOTE) {
+ if (c == BEGIN_QUOTE) {
input_stack::increase_level();
continue;
}
- if (c == (char)END_QUOTE) {
+ if (c == END_QUOTE) {
input_stack::decrease_level();
continue;
}