[LLVMbugs] [Bug 2220] Poor diagnostic

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Apr 13 13:39:39 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2220


Chris Lattner <sabre at nondot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Chris Lattner <sabre at nondot.org>  2008-04-13 15:39:38 ---
Fixed, nice catch:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080407/005167.html

We now produce:

t.c:2:9: error: invalid token at start of a preprocessor subexpression
#if 1 * * 2
        ^
t.c:5:7: error: token is not a valid binary operator in a preprocessor
subexpression
#if 4 [ 2
      ^


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list