[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 157996] New: C++ parser chokes on member function declared
From:       Matt Whitlock <matt () whitlock ! name>
Date:       2008-02-18 6:28:57
Message-ID: 20080218072856.157996.matt () whitlock ! name
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157996         
           Summary: C++ parser chokes on member function declared volatile
           Product: kdevelop
           Version: 3.5.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: matt whitlock name


Version:           3.5.0 (using KDE 3.5.8)
Installed from:    Gentoo Packages
Compiler:          gcc version 4.2.3 (Gentoo 4.2.3 p1.0) 
OS:                Linux

A C++ member function declared as volatile causes the KDevelop C++ parser to report \
"Syntax Error before 'volatile'" when the syntax is actually conforming C++.

Example:

class Foo {
    void bar() volatile;
}

Expected result:
Parser accepts valid C++ syntax.

Actual result:
Parser reports "Syntax Error before 'volatile'".

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic