http://llvm.org/bugs/show_bug.cgi?id=2750
Summary: Extremely strange "exponent has no digits" error
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=1976)
--> (http://llvm.org/bugs/attachment.cgi?id=1976)
Testcase
I see the following behavior with the attached testcase:
$ clang yy.c
yy.c:10:1: error: exponent has no digits
XRECORD (XRECORD (1, cons), cons);
^
This error makes absolutely no sense, and goes away if I instead run clang -E |
clang. I think it's a preprocessor bug.
Testcase reduced from eldap.c in xemacs (see also bug 2745).
--
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