http://llvm.org/bugs/show_bug.cgi?id=6484
Summary: Improve diagnostic when there is an extraneous '}'
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: quality-of-implementation
Severity: enhancement
Priority: P5
Component: parser
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
terfin:clang dgregor$ cat t2.c
void foo() { }
}
terfin:clang dgregor$ clang t2.c
t2.c:2:1: error: expected external declaration
}
^
1 diagnostic generated.
We can do better, with something like "extraneous closing brace ('}') at the
top level".
--
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