KDevelop : support whitespace between the '#' and 'include' (or 'import')

Authored by rjvbb on May 15 2018, 6:05 PM.



The C/C++ parser fails to recognise include statements where the hash symbol has whitespace between it and the include/import command.

This patch fixes that.

BUG: 394200

Test Plan

Works as expected.

Diff Detail

R32 KDevelop
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
rjvbb requested review of this revision.May 15 2018, 6:05 PM
rjvbb created this revision.
rjvbb edited the summary of this revision. (Show Details)
antonanikin accepted this revision.May 16 2018, 5:38 AM
antonanikin added a reviewer: KDevelop.
This revision is now accepted and ready to land.May 16 2018, 5:38 AM
kfunk accepted this revision.May 16 2018, 7:26 AM
kfunk added a subscriber: kfunk.


This revision was automatically updated to reflect the committed changes.