commit | 45ac8170923f3edc2557f5e4300d076b58d4ab82 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Dec 09 20:45:43 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Dec 09 20:45:43 2007 +0000 |
tree | a3b28178708d7f1447a1a5d7efa0033cb3bf9d03 | |
parent | c0f7c51c02d5ebf867b1794980d2b7f3a13c5633 [diff] |
Fix a pretty big but subtle bug counting the number of newlines to emit. This would cause us to emit different code (in -E mode) for these two files: --- #define t(x) x t(a 3) --- #define t(x) x t(a 3) --- In one case, -E would print "a\n3", in the other it printed "a3". Now it prints "a3" for both. This is part of PR1848. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44742 91177308-0d34-0410-b5e6-96231b3b80d8