[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kdevelop] [Bug 323414] New: nested macro argument not matched
From: James Hogan <james () albanarts ! com>
Date: 2013-08-12 12:51:30
Message-ID: bug-323414-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=323414
Bug ID: 323414
Summary: nested macro argument not matched
Classification: Unclassified
Product: kdevelop
Version: 4.5.1
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Language Support: CPP
Assignee: kdevelop-bugs-null@kde.org
Reporter: james@albanarts.com
The following code has a nested macro which is used. Moving over mymacro1 does
show correct expansion in this case, but the tmp argument doesn't highlight to
match it with the other tmp's. It does for the non-nested macro (mymacro2) or
when the function/macro is undeclared (something_else).
#define mymacro2(val2) val2
#define mymacro1(val1) mymacro2(val1)
int a()
{
int tmp;
mymacro1(tmp);
mymacro2(tmp);
something_else(tmp);
}
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic