[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 252883] Semantic analysis always reports NULL as not defined,
From: Milian Wolff <mail () milianw ! de>
Date: 2010-09-30 15:26:00
Message-ID: 20100930152600.5C7AA6CED8 () immanuel ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=252883
Milian Wolff <mail@milianw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Milian Wolff <mail milianw de> 2010-09-30 17:25:59 ---
commit 5375199da87f2374f1638f1720615acf253df5dc
Author: Milian Wolff <mail@milianw.de>
Date: Thu Sep 30 17:24:27 2010 +0200
support NULL macro as alias for 0
BUG: 252883
diff --git a/languages/cpp/setuphelpers.cpp b/languages/cpp/setuphelpers.cpp
index 41ccbc0..b35ec83 100644
--- a/languages/cpp/setuphelpers.cpp
+++ b/languages/cpp/setuphelpers.cpp
@@ -174,6 +174,8 @@ Cpp::ReferenceCountedMacroSet setupStandardMacros()
rpp::pp_macro m("__null");
m.setDefinitionText( "0" );
insertMacro( macros, m );
+ m.name = IndexedString("NULL");
+ insertMacro( macros, m );
}
{
--
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