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

List:       kdevelop-bugs
Subject:    [Bug 244606] New: Parser interprets comment tokens inside quoted
From:       Job Noorman <jobnoorman () gmail ! com>
Date:       2010-07-14 11:27:16
Message-ID: bug-244606-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=244606

           Summary: Parser interprets comment tokens inside quoted string
           Product: kdevelop
           Version: SVN
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: cpp-parser
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: jobnoorman@gmail.com


Version:           SVN (using KDE 4.4.2) 
OS:                Linux

Consider the following two defines and what KDevelop reports as their body when
used (ie when holding the mouse over it).

#define URL1 "http://www.kde.org" => Body = '"http:'
#define URL2 "http:/*www.kde.*/org" => Body = '"http:org"'

So the parser interprets the comment tokens even though they are inside a
quoted string literal.

Reproducible: Always




OS: Linux (i686) release 2.6.32-23-generic
Compiler: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
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