From 34cf330fae5b6d3bca48e1fadf7b7ad4ec47c80d Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 22 Mar 2002 22:29:07 +0000 Subject: * cpphash.h (struct cpp_reader): Remove mls_line and mls_col. * cpplex.c (unterminated): Delete. (parse_string): No string literal may extend over multiple lines. Suppress the error when preprocessing assembly. * cppmain.c (scan_translation_unit): Strings are single-line. * doc/cpp.texi: Update to match. * testsuite/gcc.dg/cpp/multiline.c: Update to match. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51195 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cppmain.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/cppmain.c') diff --git a/gcc/cppmain.c b/gcc/cppmain.c index b8757c705d0..99ca2deb90b 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -259,8 +259,7 @@ scan_translation_unit (pfile) print.prev = token; cpp_output_token (token, print.outf); - if (token->type == CPP_STRING || token->type == CPP_WSTRING - || token->type == CPP_COMMENT) + if (token->type == CPP_COMMENT) check_multiline_token (&token->val.str); } } -- cgit v1.2.1