Bug 273834 - cannot parse "#include /* comment */ filename.h"
Summary: cannot parse "#include /* comment */ filename.h"
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 4.2.1
Platform: Ubuntu Linux
: HI normal
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 273835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-22 07:23 UTC by julee
Modified: 2012-10-28 12:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description julee 2011-05-22 07:23:15 UTC
Version:           4.2.1 (using KDE 4.6.3) 
OS:                Linux

In c/c++ project, 
#include /* comment */ filename.h
is legal,and it's very comman in ACE's header files and source files.
However,kdevelop cannot parse those statement like this.

Reproducible: Always
Comment 1 julee 2011-05-22 07:39:46 UTC
*** Bug 273835 has been marked as a duplicate of this bug. ***
Comment 2 Milian Wolff 2011-05-27 18:04:30 UTC
indeed
Comment 3 Olivier.jg 2012-10-28 12:49:51 UTC
Git commit 66ac7b35d12b31535496e4d54e35ea2576251c12 by Olivier JG.
Committed on 28/10/2012 at 13:48.
Pushed by olivierjg into branch 'master'.

Allow comment after #include directive

M  +6    -0    languages/cpp/parser/rpp/pp-engine.cpp

http://commits.kde.org/kdevelop/66ac7b35d12b31535496e4d54e35ea2576251c12