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

           Summary: Poor diagnostic
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: preprocessor
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Clang claims that * is not a valid token in preprocessor expressions, but  it
is of course.  Clang accepted the first one!

$ clang /tmp/expr.c
/tmp/expr.c:1:9: error: token is not valid in preprocessor expressions
#if 1 * * 2
        ^
1 diagnostic generated.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to