From kdevelop-devel Tue Feb 08 16:01:18 2005 From: Dominik Haumann Date: Tue, 08 Feb 2005 16:01:18 +0000 To: kdevelop-devel Subject: [Bug 60512] Syntax parser can be fooled by #defines Message-Id: <20050208160118.32484.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=110787864827810 ------- 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=60512 ------- Additional Comments From dhdev gmx de 2005-02-08 17:01 ------- Another example is wxWidgets. It heavily uses macros, for instance to declare the event table, or the app etc. (very MFCish way). KDevelop even has wxWidgets templates, but isn't able to parse them correctly. // include wxWidgets includes class DlgAbout : public wxDialog { public: CDlgAbout( wxWindow *pParent ); ~CDlgAbout(); private: DECLARE_EVENT_TABLE() // XXX }; The line marked with XXX always gives an error with the result, that the whole class does not appear in the class view, which makes KDevelop almost unusable with wxWidgets. It seems KDevelop wants a semi-colon ';', but if I add it I cannot compile anymore. _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel