commit | 506b8dec4ed3db3c60bf9e0dd37901f0cf3d6749 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Aug 26 01:58:14 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Aug 26 01:58:14 2007 +0000 |
tree | 1dbcc6317e7aadf457319052df3f5012a29f5871 | |
parent | a5937ddca5bf7177342f63fb3f6e7d8c5bc029c2 [diff] |
1) refactor some code. 2) Add support for lexing imaginary constants (a GCC extension): t.c:5:10: warning: imaginary constants are an extension A = 1.0iF; ^ 3) Make the 'invalid suffix' diagnostic pointer more accurate: t.c:6:10: error: invalid suffix 'qF' on floating constant A = 1.0qF; ^ instead of: t.c:6:10: error: invalid suffix 'qF' on floating constant A = 1.0qF; ^ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41411 91177308-0d34-0410-b5e6-96231b3b80d8