diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-22 22:29:07 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-22 22:29:07 +0000 |
commit | 34cf330fae5b6d3bca48e1fadf7b7ad4ec47c80d (patch) | |
tree | b7200ed8ce94b6f6fbb96d7a9bf0bea3ec37efdd /gcc/cppmain.c | |
parent | 0837bbb770267c33b479d28b0abeced8cc793564 (diff) | |
download | gcc-34cf330fae5b6d3bca48e1fadf7b7ad4ec47c80d.tar.gz |
* 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
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } } |