diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-03-22 22:29:07 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-03-22 22:29:07 +0000 |
commit | d4e6133f20c4395d16bf1ed7887f5223bd3c249b (patch) | |
tree | b7200ed8ce94b6f6fbb96d7a9bf0bea3ec37efdd /gcc/cppmain.c | |
parent | 65e6c00573077208af5011dd1bebe287ae1f2ade (diff) | |
download | gcc-d4e6133f20c4395d16bf1ed7887f5223bd3c249b.zip gcc-d4e6133f20c4395d16bf1ed7887f5223bd3c249b.tar.gz gcc-d4e6133f20c4395d16bf1ed7887f5223bd3c249b.tar.bz2 |
cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
* 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.
From-SVN: r51195
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 b8757c7..99ca2de 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); } } |