blob: 94e471dcdd4c71a334f9dbde83274e9dfe86966e [file] [log] [blame]
Reid Spencer5f016e22007-07-11 17:01:13 +00001//===---------------------------------------------------------------------===//
2// Minor random things that can be improved
3//===---------------------------------------------------------------------===//
4
5
6
7//===---------------------------------------------------------------------===//
8
9Lexer-related diagnostics should point to the problematic character, not the
10start of the token. For example:
11
12int y = 0000\
1300080;
14
15diag.c:4:9: error: invalid digit '8' in octal constant
16int y = 0000\
17 ^
18
19should be:
20
21diag.c:4:9: error: invalid digit '8' in octal constant
2200080;
23 ^
24
Chris Lattner136f93a2007-07-16 06:55:01 +000025This specific diagnostic is implemented, but others should be updated.
26
Reid Spencer5f016e22007-07-11 17:01:13 +000027//===---------------------------------------------------------------------===//
28
29