- Reproducible: Always Steps to Reproduce: Open some C++ file in Kate 3.14.2 or KDevelop 4.7.0. Type: #if 1 #endif #if defined (A) aaa #elif defined (B) bbb #endif Actual Results: "defined (B)" and "bbb" will be gray Expected Results: "defined (B)" should be green like "defined (A)" and "bb" should be black like "aaa" Debian GNU/Linux Jessie
Reproduced. Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.7 xcb wm
Git commit 472c89ef37e96f46578141b850fcbc730606dc37 by Christoph Cullmann. Committed on 05/09/2016 at 20:18. Pushed by cullmann into branch 'master'. Bug 363280 - highlighting: c++: #if 1 #endif #if defined (A) aaa #elif defined (B) bbb #endif fix wrong greyed out lines + update regression test ;) M +2 -2 autotests/input/syntax/cpp/results/preprocessor-bug363280.cpp.reference.html M +2 -1 src/syntax/data/isocpp.xml http://commits.kde.org/ktexteditor/472c89ef37e96f46578141b850fcbc730606dc37