commit | 5a6b9a27fdb2ac66aaadd90b15b1889fea8f08d0 | [log] [tgz] |
---|---|---|
author | Carl Worth <cworth@cworth.org> | Thu May 20 14:29:43 2010 -0700 |
committer | Carl Worth <cworth@cworth.org> | Thu May 20 14:29:43 2010 -0700 |
tree | 1a0b226c9abf5be1280eddf66af93b1f7e895c46 | |
parent | 005b32061f77008530a290ed991980a579095002 [diff] [blame] |
Avoid printing a space at the beginning of lines in the output. This fixes more differences compared to "gcc -E" so removes several cases of erroneously failing test cases. The implementation isn't very elegant, but it is functional.
diff --git a/glcpp.h b/glcpp.h index 5432a31..c25e29c 100644 --- a/glcpp.h +++ b/glcpp.h
@@ -101,6 +101,7 @@ yyscan_t scanner; struct hash_table *defines; expansion_node_t *expansions; + int just_printed_separator; }; void