[Bug 71689] New: Certain C syntax puts parser in loop

Jon Smirl jonsmirl at yahoo.com
Fri Jan 2 19:16:02 UTC 2004


------- 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=71689     
           Summary: Certain C syntax puts parser in loop
           Product: kdevelop
           Version: CVS
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: jonsmirl at yahoo.com


Version:           CVS (using KDE Devel)
Installed from:    Compiled sources

I had this code in a file that I tried to add to a project:

#define LRMI_CONCAT2(a, b) 	a ## b
#define LRMI_CONCAT(a, b) 	LRMI_CONCAT2(a, b)
#define LRMI_MAKENAME(a) 	LRMI_CONCAT(LRMI_PREFIX, a)


Adding the file locks kdevelop in a loop. I suspect the parser is having touble with 'a ## b'.

I wish the parser could just be taught C instead of treating C like C++.




More information about the KDevelop-devel mailing list