blob: 94e471dcdd4c71a334f9dbde83274e9dfe86966e [file] [log] [blame]
Chris Lattner4b009652007-07-25 00:24:17 +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
25This specific diagnostic is implemented, but others should be updated.
26
27//===---------------------------------------------------------------------===//
28
29