diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2008-08-22 08:51:32 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2008-08-22 08:51:32 +0000 |
commit | 1a456b49becaa1f7786d9c3129276077de8f86ed (patch) | |
tree | 54edb2800c429cc20230e3720dd2e8659e95d385 /gcc/c-ppoutput.c | |
parent | f37e928ca481ce81aeae79ae9fb9504f2d13b3a1 (diff) | |
download | gcc-1a456b49becaa1f7786d9c3129276077de8f86ed.zip gcc-1a456b49becaa1f7786d9c3129276077de8f86ed.tar.gz gcc-1a456b49becaa1f7786d9c3129276077de8f86ed.tar.bz2 |
* c-ppoutput.c (init_pp_output): Initialize src_line to 1.
From-SVN: r139426
Diffstat (limited to 'gcc/c-ppoutput.c')
-rw-r--r-- | gcc/c-ppoutput.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c index 5fb41b2..9475b21 100644 --- a/gcc/c-ppoutput.c +++ b/gcc/c-ppoutput.c @@ -146,10 +146,8 @@ init_pp_output (FILE *out_stream) cb->used_undef = cb_used_undef; } - /* Initialize the print structure. Setting print.src_line to -1 here is - a trick to guarantee that the first token of the file will cause - a linemarker to be output by maybe_print_line. */ - print.src_line = -1; + /* Initialize the print structure. */ + print.src_line = 1; print.printed = 0; print.prev = 0; print.outf = out_stream; |