From a48867230f0796a33209b987ef3387de98f12604 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Sat, 21 Aug 2004 19:49:22 +0000 Subject: [PATCH] Respect line breaks in the original code, making it easier to compare. svn path=/trunk/; revision=10636 --- reactos/tools/ms2ps/ms2ps.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/tools/ms2ps/ms2ps.cpp b/reactos/tools/ms2ps/ms2ps.cpp index 3b01fd874d0..65b421857a0 100644 --- a/reactos/tools/ms2ps/ms2ps.cpp +++ b/reactos/tools/ms2ps/ms2ps.cpp @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: ms2ps.cpp,v 1.2 2004/08/08 22:07:06 arty Exp $ +/* $Id: ms2ps.cpp,v 1.3 2004/08/21 19:49:22 arty Exp $ * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS seh conversion tool * FILE: tools/ms2ps/ms2ps.cpp @@ -218,10 +218,12 @@ bool expand_input( sl_t &tok ) { while( line[line.size()-1] == '\\' ) { getline_no_comments( cin, line ); tok.push_back( line ); + tok.push_back( "\n" ); } } else { new_tokens = snarf_tokens( line ); tok.splice( tok.end(), new_tokens ); + tok.push_back( "\n" ); } return out; @@ -393,7 +395,7 @@ void handle_try( sl_t &container, sl_it try_kw, sl_it end ) { void print_tokens( sl_it begin, sl_it end ) { for( sl_it i = begin; i != end; i++ ) - cout << /*"[" <<*/ *i << /*"]" <<*/ endl; + cout << /*"[" <<*/ *i << /*"]" <<*/ " "; } int main( int argc, char **argv ) {