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

René J.V. Bertin noreply at phabricator.kde.org
Tue May 15 18:05:38 UTC 2018


rjvbb created this revision.
rjvbb added a project: KDevelop.
rjvbb requested review of this revision.

REVISION SUMMARY
  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.

TEST PLAN
  Works as expected.

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D12903

AFFECTED FILES
  plugins/clang/tests/test_clangutils.cpp
  plugins/clang/util/clangutils.cpp

To: rjvbb
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180515/a0a0ad5e/attachment.html>


More information about the KDevelop-devel mailing list