Only ignore extra tokens after #else if we skip it, otherwise warn. Fixes rdar:/...
commite26224e61c8a3b607c73c52f2cd0344065d7b412
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 21 May 2011 04:26:04 +0000 (21 04:26 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 21 May 2011 04:26:04 +0000 (21 04:26 +0000)
tree2b0ed18f762db372f9a137ef08375206082ed607
parentce30688b8aa0effd70a7a69a4d1e3d6a2a86efcd
Only ignore extra tokens after #else if we skip it, otherwise warn. Fixes rdar://9475098.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131788 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPDirectives.cpp
test/Preprocessor/if_warning.c