[LLVMbugs] [Bug 4296] New: Add parser detection/error recovery for nested functions

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jun 2 01:16:57 PDT 2009


           Summary: Add parser detection/error recovery for nested functions
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu

Even if clang never ends up supporting nested functions, it would be nice if we
could detect what's going on and give an easily recognizable error message. 
Currently, it gives "expected ';' at end of declaration", which isn't obvious
without going in and looking at the file in question.

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