Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/groff/dist/src/roff/troff Revert half of the l...



details:   https://anonhg.NetBSD.org/src/rev/7b4961d7b06f
branches:  trunk
changeset: 818341:7b4961d7b06f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Oct 08 23:40:52 2016 +0000

description:
Revert half of the last commit. Turns out that in some contexts,
BEGIN_QUOTE/END_QUOTE is used intentionally as non-char marker.

diffstat:

 external/gpl2/groff/dist/src/roff/troff/input.cpp |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r b341a799b361 -r 7b4961d7b06f external/gpl2/groff/dist/src/roff/troff/input.cpp
--- a/external/gpl2/groff/dist/src/roff/troff/input.cpp Sat Oct 08 20:44:59 2016 +0000
+++ b/external/gpl2/groff/dist/src/roff/troff/input.cpp Sat Oct 08 23:40:52 2016 +0000
@@ -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 @@
       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;
     }



Home | Main Index | Thread Index | Old Index