diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1995-05-12 01:13:44 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1995-05-12 01:13:44 -0700 |
commit | 3232050ccc4a4db7e319adf6cc41dad3132a67f8 (patch) | |
tree | bf28d7ce61b29b578484461490948b5dec91469f /gcc/cpplib.h | |
parent | 9dcdcbeb114cd09eb0a0b91189e4f9734e9727b6 (diff) | |
download | gcc-3232050ccc4a4db7e319adf6cc41dad3132a67f8.zip gcc-3232050ccc4a4db7e319adf6cc41dad3132a67f8.tar.gz gcc-3232050ccc4a4db7e319adf6cc41dad3132a67f8.tar.bz2 |
Fix reporting of unterminated strings.
From-SVN: r9637
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 298a570..861f775 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -187,14 +187,14 @@ struct cpp_reader { #endif int errors; /* Error counter for exit code */ - /* While scanning a comment or a string constant, - this records the line it started on, for error messages. */ - int start_line; void *data; U_CHAR *token_buffer; int token_buffer_size; + /* Line where a newline was first seen in a string constant. */ + int multiline_string_line; + /* Current depth in #include directives that use <...>. */ int system_include_depth; @@ -638,7 +638,6 @@ extern void cpp_error (); extern void cpp_warning (); extern void cpp_pedwarn (); extern void cpp_error_with_line (); -extern void cpp_warning_with_line (); extern void cpp_pedwarn_with_line (); extern void cpp_pedwarn_with_file_and_line (); extern void fatal (); |