* c-ppoutput.c (init_pp_output): Initialize src_line to 1.

From-SVN: r139426
This commit is contained in:
Nathan Sidwell 2008-08-22 08:51:32 +00:00 committed by Nathan Sidwell
parent f37e928ca4
commit 1a456b49be
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-08-21 Nathan Sidwell <nathan@codesourcery.com>
* c-ppoutput.c (init_pp_output): Initialize src_line to 1.
2008-08-21 Richard Henderson <rth@redhat.com>
* configure.ac (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): Remove

View File

@ -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;