]> granicus.if.org Git - clang/commit
more fun with line markers: the digit string is required to be interpreted
authorChris Lattner <sabre@nondot.org>
Sat, 18 Apr 2009 18:35:15 +0000 (18:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 18 Apr 2009 18:35:15 +0000 (18:35 +0000)
commitdc8c90da158030c0d0c62539e2da0adccc09f271
tree5aab715131ab8b777a14df15d84234a63b8442a2
parent58f06995ada075131ab9ac72a411450caaa65605
more fun with line markers: the digit string is required to be interpreted
as decimal, even if it starts with 0.  Also, since things like 0x1 are
completely illegal, don't even bother using numericliteralparser for them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69454 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
lib/Lex/PPDirectives.cpp
test/Preprocessor/line-directive.c