Mercurial > hg > tinycc
changeset 478:e9cd70a790dd
Bug fix: don't ignore #include <blah.h> in the very first line of a file.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 08 Sep 2007 05:09:17 -0500 |
parents | 1e81d5b65878 |
children | 7909d3c7e712 |
files | tcc.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tcc.c Thu Sep 06 05:42:28 2007 -0500 +++ b/tcc.c Sat Sep 08 05:09:17 2007 -0500 @@ -9815,6 +9815,8 @@ for(i = 0;i < nb_files; i++) { const char *filename; + next_tok_flags = TOK_FLAG_BOL | TOK_FLAG_BOF | TOK_FLAG_BOW; + filename = files[i]; if (output_type == TCC_OUTPUT_PREPROCESS) { tcc_add_file_internal(s, filename,