aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpperror.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2000-12-17 14:46:34 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-12-17 14:46:34 +0000
commitdfbf62ec3d64ab32260e1393039239e52b504cdc (patch)
tree603a86ad54e6ce0230d8b8d72b36f4ed2e0def07 /gcc/cpperror.c
parent04650349dad5d0a41535b16dfd026bbd81a3f5bb (diff)
downloadgcc-dfbf62ec3d64ab32260e1393039239e52b504cdc.zip
gcc-dfbf62ec3d64ab32260e1393039239e52b504cdc.tar.gz
gcc-dfbf62ec3d64ab32260e1393039239e52b504cdc.tar.bz2
cppmain.c (check_multiline_token): New function.
* cppmain.c (check_multiline_token): New function. (scan_buffer): Use it. (cb_change_file): Restructure to avoid warning. * cpperror.c (print_location): Initialize col. From-SVN: r38332
Diffstat (limited to 'gcc/cpperror.c')
-rw-r--r--gcc/cpperror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpperror.c b/gcc/cpperror.c
index 6a48a2a..cfd4ce5 100644
--- a/gcc/cpperror.c
+++ b/gcc/cpperror.c
@@ -86,7 +86,7 @@ print_location (pfile, filename, pos)
fprintf (stderr, "%s: ", progname);
else
{
- unsigned int line, col;
+ unsigned int line, col = 0;
enum cpp_buffer_type type = buffer->type;
/* For _Pragma buffers, we want to print the location as